diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-08-05 23:17:15 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-08-05 23:17:15 +0000 |
commit | b945c5bd2a3f642ac51d517ec127aa2180fb9974 (patch) | |
tree | 26df00938573fd777bf2493904d903e75129cc69 /plugins/mate/mate_parser.l | |
parent | 222cd82f4f526e58d34e77d17875d110f299a0f9 (diff) | |
download | wireshark-b945c5bd2a3f642ac51d517ec127aa2180fb9974.tar.gz |
Squelch a warning about "state" being used uninitialized.
svn path=/trunk/; revision=15230
Diffstat (limited to 'plugins/mate/mate_parser.l')
-rw-r--r-- | plugins/mate/mate_parser.l | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mate/mate_parser.l b/plugins/mate/mate_parser.l index 1cd0730528..120daf9376 100644 --- a/plugins/mate/mate_parser.l +++ b/plugins/mate/mate_parser.l @@ -246,7 +246,7 @@ blk_cmnt_stop "*/" %% extern gboolean mate_load_config(const gchar* filename, mate_config* matecfg) { - gboolean state; + gboolean state = TRUE; mc = matecfg; yyin = fopen(filename,"r"); @@ -283,7 +283,6 @@ extern gboolean mate_load_config(const gchar* filename, mate_config* matecfg) { g_free(current_frame); g_ptr_array_free(mc->config_stack,FALSE); - state = TRUE; } CATCH(MateConfigError) { state = FALSE; } CATCH_ALL { |