]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Don't define tstr[] if we won't be using it.
authorGuy Harris <[email protected]>
Wed, 4 Apr 2018 20:20:23 +0000 (13:20 -0700)
committerGuy Harris <[email protected]>
Wed, 4 Apr 2018 20:20:23 +0000 (13:20 -0700)
print-bt.c

index 96b3fa8f62da272544ff30163bb3ae5e6cb4077a..f8a0a565f6164207acad07527bb8d9bec04ae51a 100644 (file)
 #include "netdissect.h"
 #include "extract.h"
 
-static const char tstr[] = " [|bt]";
-
 #if defined(DLT_BLUETOOTH_HCI_H4_WITH_PHDR) && defined(HAVE_PCAP_BLUETOOTH_H)
 #include <pcap/bluetooth.h>
 
+static const char tstr[] = " [|bt]";
+
 #define        BT_HDRLEN sizeof(pcap_bluetooth_h4_header)
 /*
  * This is the top level routine of the printer.  'p' points