diff -r 49cd52914a6f -r 2932b0dd437c targets/plc_common_main.c --- a/targets/plc_common_main.c Tue Sep 01 10:45:07 2009 +0200 +++ b/targets/plc_common_main.c Wed Sep 02 13:38:47 2009 +0200 @@ -58,12 +58,12 @@ **/ int __init(int argc,char **argv) { - int res; + int res = 0; setlocale(LC_NUMERIC, "C"); config_init__(); __init_debug(); %(init_calls)s - return 0; + return res; } /* * Calls plugin cleanup proc.