i965g: Fix 'control reaches end of non-void function' warning.
Fixes the following GCC warning. brw_screen.c: In function 'brw_get_shader_param': brw_screen.c:241: warning: control reaches end of non-void function
This commit is contained in:
@@ -236,7 +236,8 @@ brw_get_shader_param(struct pipe_screen *screen, unsigned shader, enum pipe_shad
|
||||
case PIPE_SHADER_CAP_TGSI_CONT_SUPPORTED:
|
||||
return 1;
|
||||
default:
|
||||
break;
|
||||
assert(0);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user