diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2016-01-17 17:53:38 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-01-17 19:12:45 +0000 |
commit | b87a5af633e109225f4e37ac741db4a990162d54 (patch) | |
tree | 6e9e10a119bdb87fcc2422abfb1bd3883b0a0989 /ui | |
parent | 96d585a5e9baef21e1eea8505d78305b034dc80e (diff) | |
download | wireshark-b87a5af633e109225f4e37ac741db4a990162d54.tar.gz |
Fix build [-Werror=maybe-uninitialized]
Found building with GCC 5.3.0 and CFLAGS="-g -Og".
Change-Id: I5bc29b6e91cc98332a513c9d03b02d2f6906608d
Reviewed-on: https://code.wireshark.org/review/13362
Reviewed-by: João Valverde <j@v6e.pt>
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gtk/rtp_player.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/rtp_player.c b/ui/gtk/rtp_player.c index 45f34c7b7c..3503f10634 100644 --- a/ui/gtk/rtp_player.c +++ b/ui/gtk/rtp_player.c @@ -1879,7 +1879,7 @@ play_channels(void) PaHostApiIndex default_host_api_index = Pa_GetDefaultHostApi(); PaHostApiIndex host_api_index; - const PaHostApiInfo *host_api_info; + const PaHostApiInfo *host_api_info = NULL; for (host_api_index=0; host_api_index<host_api_count; host_api_index++) { |