diff options
author | Evan Huus <eapache@gmail.com> | 2012-08-29 22:53:21 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2012-08-29 22:53:21 +0000 |
commit | 1ccee24ec59e99514299f1533487265e9cb17c46 (patch) | |
tree | 70baae6b1ea968a0d1cea2ba1fbf03167a1b2e9b /rawshark.c | |
parent | baf111a23c6975f64dec6abd5da2c7d52a84a9a1 (diff) | |
download | wireshark-1ccee24ec59e99514299f1533487265e9cb17c46.tar.gz wireshark-1ccee24ec59e99514299f1533487265e9cb17c46.tar.bz2 wireshark-1ccee24ec59e99514299f1533487265e9cb17c46.zip |
Fix uninitialized variable as caught by cppcheck.
svn path=/trunk/; revision=44699
Diffstat (limited to 'rawshark.c')
-rw-r--r-- | rawshark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rawshark.c b/rawshark.c index b68fecab9c..b55c27982b 100644 --- a/rawshark.c +++ b/rawshark.c @@ -244,7 +244,7 @@ raw_pipe_open(const char *pipe_name) #ifndef _WIN32 ws_statb64 pipe_stat; #else - char *pncopy, *pos; + char *pncopy, *pos = NULL; DWORD err; wchar_t *err_str; HANDLE hPipe = NULL; |