diff options
author | Balint Reczey <balint.reczey@ericsson.com> | 2010-04-02 21:14:30 +0000 |
---|---|---|
committer | Balint Reczey <balint.reczey@ericsson.com> | 2010-04-02 21:14:30 +0000 |
commit | d3352faa5678d1e4afe0c5ea28bfba259313b81c (patch) | |
tree | 750f1b83aa08832599db25046dfc9216f9696ebf /gtk/packet_win.c | |
parent | 01fbe6644cf1059a38a13a9786cf4aed3085fb22 (diff) |
Fix compile error caused by the previous commit.
svn path=/trunk/; revision=32363
Diffstat (limited to 'gtk/packet_win.c')
-rw-r--r-- | gtk/packet_win.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk/packet_win.c b/gtk/packet_win.c index 0c1646955f..2c5b7edfb8 100644 --- a/gtk/packet_win.c +++ b/gtk/packet_win.c @@ -131,14 +131,17 @@ void new_window_cb(GtkWidget *w _U_) struct PacketWinData *DataPtr; int i; +#ifdef NEW_PACKET_LIST + int err; + gchar *err_info; +#endif /* NEW_PACKET_LIST */ + if (!cfile.current_frame) { /* nothing has been captured so far */ return; } #ifdef NEW_PACKET_LIST - int err; - gchar *err_info; /* With the new packetlists "lazy columns" it's neccesary to reread the frame */ if (!wtap_seek_read(cfile.wth, cfile.current_frame->file_off, &cfile.pseudo_header, |