Two little cleanups from cppcheck:
- unused variable = don't trust GTK_IS_PROGRESS_BAR to provide the necessary parentheses svn path=/trunk/; revision=43915
This commit is contained in:
parent
79dd3fc264
commit
afec796598
|
@ -1203,9 +1203,7 @@ welcome_new(void)
|
|||
GtkWidget *topic_capture_to_fill;
|
||||
gchar *label_text;
|
||||
GtkWidget *file_child_box;
|
||||
#ifdef _WIN32
|
||||
DWORD chimney_enabled = 0;
|
||||
#endif
|
||||
|
||||
/* prepare colors */
|
||||
#if 0
|
||||
/* Allocating color isn't necessary? */
|
||||
|
|
|
@ -570,7 +570,7 @@ static void
|
|||
update_progress_bar(gfloat fraction)
|
||||
{
|
||||
|
||||
if GTK_IS_PROGRESS_BAR(progress_bar)
|
||||
if (GTK_IS_PROGRESS_BAR(progress_bar))
|
||||
gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(progress_bar), fraction);
|
||||
|
||||
/* Force gtk to redraw the window before starting decoding the packet */
|
||||
|
|
Loading…
Reference in New Issue