diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-11-04 21:32:41 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-11-04 21:32:41 -0500 |
commit | 0cca2724311b8df9989dc46efad12bdbe05c3883 (patch) | |
tree | 263a41299101aa9de989192de2d62e113725d494 /libs/ardour/globals.cc | |
parent | 342237bf9c71927b5b6017c527a2d54b5c8be250 (diff) |
try to fix various warnings from gcc when optimization flags are enabled
Diffstat (limited to 'libs/ardour/globals.cc')
-rw-r--r-- | libs/ardour/globals.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc index 9850d82d31..2cd886b03e 100644 --- a/libs/ardour/globals.cc +++ b/libs/ardour/globals.cc @@ -525,8 +525,8 @@ ARDOUR::set_translations_enabled (bool yn) c = '0'; } - ::write (fd, &c, 1); - ::close (fd); + (void) ::write (fd, &c, 1); + (void) ::close (fd); return true; } |