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:
Vinson Lee
2010-09-14 00:08:45 -07:00
parent 706380cf7d
commit 45ee8463a2
+2 -1
View File
@@ -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;
}
}