diff options
author | Evan Huus <eapache@gmail.com> | 2015-11-16 16:02:43 -0500 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2015-11-17 04:18:37 +0000 |
commit | c3025544b63c456ba1da066e22c80b9018a64fbb (patch) | |
tree | 1964c282903f6bb4c625a955b88fbd7f0f1e63c2 /caputils | |
parent | 9a7973770e19dca8ee455d60efb0b46c3bafef98 (diff) | |
download | wireshark-c3025544b63c456ba1da066e22c80b9018a64fbb.tar.gz wireshark-c3025544b63c456ba1da066e22c80b9018a64fbb.tar.bz2 wireshark-c3025544b63c456ba1da066e22c80b9018a64fbb.zip |
Misc minor issues caught by cppcheck
All trivial (unused variables, duplicate `break`s, etc).
Change-Id: Idbfffae4f6c0b0119a90ae5849de2ed7a1180c9b
Reviewed-on: https://code.wireshark.org/review/11886
Petri-Dish: Evan Huus <eapache@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'caputils')
-rw-r--r-- | caputils/airpcap_loader.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/caputils/airpcap_loader.c b/caputils/airpcap_loader.c index 299cac1483..7d2fbc7349 100644 --- a/caputils/airpcap_loader.c +++ b/caputils/airpcap_loader.c @@ -816,7 +816,6 @@ free_airpcap_interface_list(GList *if_list) { g_list_foreach(if_list, free_airpcap_if_cb, NULL); g_list_free(if_list); - if_list = NULL; } /* @@ -1138,7 +1137,6 @@ airpcap_if_info_free(airpcap_if_info_t *if_info) if (if_info != NULL) { g_free(if_info); - if_info = NULL; } } } |