silencium gcc warnings
authorMichal Krol <mjkrol@gmail.org>
Wed, 25 May 2005 14:27:59 +0000 (14:27 +0000)
committerMichal Krol <mjkrol@gmail.org>
Wed, 25 May 2005 14:27:59 +0000 (14:27 +0000)
src/mesa/shader/slang/slang_assemble_assignment.c

index fdd4355566b78136726796d7228f291874b12c0e..551f5d9b110dc4681f102fabefc249e7309187d7 100644 (file)
@@ -87,6 +87,8 @@ static int assign_aggregate (slang_assembly_file *file, const slang_storage_aggr
                                case slang_stor_float:\r
                                        ty = slang_asm_float_copy;\r
                                        break;\r
+                               default:\r
+                                       break;\r
                                }\r
                                if (!slang_assembly_file_push_label2 (file, ty, size - *index, *index))\r
                                        return 0;\r