summaryrefslogtreecommitdiff
path: root/capture_win_ifnames.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-11-24 00:31:29 +0000
committerGuy Harris <guy@alum.mit.edu>2012-11-24 00:31:29 +0000
commit57cc0931b21c885e442baf57f6e47e13a68d5ecd (patch)
tree8a8ce236eaf053a2b508daebf74c00d0a4e631d4 /capture_win_ifnames.c
parent73b3e24705cb4788e4a2b29ed0066add9165b32f (diff)
downloadwireshark-57cc0931b21c885e442baf57f6e47e13a68d5ecd.tar.gz
There is no longer an interface_friendlyname argument to
get_windows_interface_friendly_name(); don't refer to it. svn path=/trunk/; revision=46163
Diffstat (limited to 'capture_win_ifnames.c')
-rw-r--r--capture_win_ifnames.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/capture_win_ifnames.c b/capture_win_ifnames.c
index 1f3fafb436..1e4aac497a 100644
--- a/capture_win_ifnames.c
+++ b/capture_win_ifnames.c
@@ -236,13 +236,6 @@ get_windows_interface_friendly_name(/* IN */ const char *interface_devicename)
int i;
int digit1, digit2;
- /* ensure we can return a result */
- if(interface_friendlyname==NULL){
- return NULL;
- }
- /* start on the basis we know nothing */
- interface_friendlyname=NULL;
-
/* Extract the guid text from the interface device name */
if(strncmp("\\Device\\NPF_", interface_devicename, 12)==0){
guid_text=interface_devicename+12; /* skip over the '\Device\NPF_' prefix, assume the rest is the guid text */