aboutsummaryrefslogtreecommitdiffstats
path: root/rawshark.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2012-08-29 22:53:21 +0000
committerEvan Huus <eapache@gmail.com>2012-08-29 22:53:21 +0000
commit1ccee24ec59e99514299f1533487265e9cb17c46 (patch)
tree70baae6b1ea968a0d1cea2ba1fbf03167a1b2e9b /rawshark.c
parentbaf111a23c6975f64dec6abd5da2c7d52a84a9a1 (diff)
Fix uninitialized variable as caught by cppcheck.
svn path=/trunk/; revision=44699
Diffstat (limited to 'rawshark.c')
-rw-r--r--rawshark.c2
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;