diff src/ov.h @ 13736:deb69dab4514

Avoid some compilation warnings. * graphics.cc (base_properties::is_handle_visible): Add parenthesis. (uicontrol::properties::get_extent): Don't use "parent" variable. (uicontrol::properties::update_units): Likewise. (uipanel::properties::update_units): Likewise. (gh_manager::do_event_processing): Rename "lock" variable into "guard". * ov.h (DEF_DUMMY_VALUE_EXTRACTOR): Remove unused argument name.
author Michael Goffioul <michael.goffioul@gmail.com>
date Thu, 20 Oct 2011 15:19:38 +0100
parents b1186adb567e
children c1b754d93572
line wrap: on
line diff
--- a/src/ov.h
+++ b/src/ov.h
@@ -1373,7 +1373,7 @@
 
 #define DEF_DUMMY_VALUE_EXTRACTOR(VALUE,DEFVAL) \
 template<> \
-inline VALUE octave_value_extract<VALUE> (const octave_value& v) \
+inline VALUE octave_value_extract<VALUE> (const octave_value&) \
   { assert (false); return DEFVAL; }
 
 DEF_DUMMY_VALUE_EXTRACTOR (char, 0)