forked from osmocom/wireshark
Fix compilation without pcap.
Change-Id: Id9f6b9189c7663062ecc569a33ca2c30c4c86760 Reviewed-on: https://code.wireshark.org/review/26213 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
363ebc01ee
commit
92bb9ec9da
|
@ -160,6 +160,8 @@ void main_window_quit(void)
|
|||
wsApp->quit();
|
||||
}
|
||||
|
||||
#endif /* HAVE_LIBPCAP */
|
||||
|
||||
void exit_application(int status) {
|
||||
if (wsApp) {
|
||||
wsApp->quit();
|
||||
|
@ -167,8 +169,6 @@ void exit_application(int status) {
|
|||
exit(status);
|
||||
}
|
||||
|
||||
#endif /* HAVE_LIBPCAP */
|
||||
|
||||
/*
|
||||
* Report an error in command-line arguments.
|
||||
* Creates a console on Windows.
|
||||
|
|
Loading…
Reference in New Issue