removed compiler warning

--Sven
This commit is contained in:
Sven Neumann 2000-08-27 23:16:01 +00:00
parent 0016d9edb4
commit 778560992a
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2000-08-28 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu.c: add missing cases to switch
statement.
2000-08-28 Sven Neumann <sven@gimp.org> 2000-08-28 Sven Neumann <sven@gimp.org>
* libgimp/gimpchainbutton.[ch]: emit a "toggled" signal. This * libgimp/gimpchainbutton.[ch]: emit a "toggled" signal. This

View file

@ -794,11 +794,13 @@ marshall_proc_db_call (LISP a)
lprin1s (a_saved, error_str + strlen(error_str)); lprin1s (a_saved, error_str + strlen(error_str));
return my_err (error_str, NIL); return my_err (error_str, NIL);
break; break;
case GIMP_PDB_CALLING_ERROR: case GIMP_PDB_CALLING_ERROR:
strcpy (error_str, "Procedural database execution failed on invalid input arguments:\n "); strcpy (error_str, "Procedural database execution failed on invalid input arguments:\n ");
lprin1s (a_saved, error_str + strlen(error_str)); lprin1s (a_saved, error_str + strlen(error_str));
return my_err (error_str, NIL); return my_err (error_str, NIL);
break; break;
case GIMP_PDB_SUCCESS: case GIMP_PDB_SUCCESS:
return_val = NIL; return_val = NIL;
@ -949,6 +951,10 @@ marshall_proc_db_call (LISP a)
} }
} }
break; break;
case GIMP_PDB_PASS_THROUGH:
case GIMP_PDB_CANCEL: /* should we do something here? */
break;
} }
/* free up the executed procedure return values */ /* free up the executed procedure return values */