]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/input_validators.C
get rid of turds, no.po update and remove some warnings
[lyx.git] / src / frontends / xforms / input_validators.C
index 1e48205e6425db2efc60f7bdd921f9717dfd6587..5555d516d51550903b5d1a0ac30b2901ab9fb559 100644 (file)
@@ -14,9 +14,9 @@ extern "C"
 {
 #endif
 
-int fl_unsigned_int_filter(FL_OBJECT * ob,
-                          char const * not_used,
-                          char const * unused,
+int fl_unsigned_int_filter(FL_OBJECT * /*ob*/,
+                          char const * /*not_used*/,
+                          char const * /*unused*/,
                           int c)
 {
        if (c == 0 /* final test before handing contents to app */
@@ -29,13 +29,13 @@ int fl_unsigned_int_filter(FL_OBJECT * ob,
 
 
 int fl_unsigned_float_filter(FL_OBJECT * ob,
-                            char const * not_used,
-                            char const * unused,
+                            char const * /*not_used*/,
+                            char const * /*unused*/,
                             int c)
 {
        if (c == 0 /* final test before handing contents to app */
            || strchr("0123456789.", c)) {
-               if ( isStrDbl(fl_get_input(ob)) )
+               if (isStrDbl(fl_get_input(ob)))
                        return FL_VALID;
                else
                        return FL_INVALID|FL_RINGBELL;
@@ -44,9 +44,9 @@ int fl_unsigned_float_filter(FL_OBJECT * ob,
 }
 
 
-int fl_lowercase_filter(FL_OBJECT * ob,
-                       char const * not_used,
-                       char const * unused,
+int fl_lowercase_filter(FL_OBJECT * /*ob*/,
+                       char const * /*not_used*/,
+                       char const * /*unused*/,
                        int c)
 {
        if (c == 0 /* final test before handing contents to app */