mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-09 19:41:04 +00:00
fix 'may be used uninitialized'
This commit is contained in:
parent
0c3d8f5f70
commit
d945964efc
1 changed files with 2 additions and 2 deletions
|
@ -598,8 +598,8 @@ static gint ci_add_target( GtkWidget *widget, gpointer data ){
|
|||
}
|
||||
else if ( gtk_toggle_button_get_active( (GtkToggleButton*)interpolated ) ) {
|
||||
type = 1;
|
||||
}
|
||||
else if ( gtk_toggle_button_get_active( (GtkToggleButton*)spline ) ) {
|
||||
} else {
|
||||
assert( gtk_toggle_button_get_active( (GtkToggleButton*)spline ) );
|
||||
type = 2;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue