Browse Source

ERR: Fixed unused parameter warning.

Brad King 23 years ago
parent
commit
b15808caff
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/CursesDialog/form/fty_alpha.c

+ 1 - 0
Source/CursesDialog/form/fty_alpha.c

@@ -116,6 +116,7 @@ static bool Check_Alpha_Field(FIELD * field, const void * argp)
 +--------------------------------------------------------------------------*/
 static bool Check_Alpha_Character(int c, const void * argp)
 {
+  argp=0; /* Silence unused parameter warning.  */
   return (isalpha(c) ? TRUE : FALSE);
 }