cppcheck fixes discovered by Andrew
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / pluginprefs.C
index 2a3f7878cc27760fa43232d5f447084335062e4b..b8167bb2378628a6e28f70e4dd2a520e54c86303 100644 (file)
@@ -93,6 +93,7 @@ PluginGlobalPathText::~PluginGlobalPathText() {}
 int PluginGlobalPathText::handle_event()
 {
        strcpy(pwindow->thread->preferences->global_plugin_dir, get_text());
+return 0;
 }
 
 
@@ -110,4 +111,5 @@ PluginLocalPathText::~PluginLocalPathText() {}
 int PluginLocalPathText::handle_event()
 {
        strcpy(pwindow->thread->preferences->local_plugin_dir, get_text());
+return 0;
 }