summaryrefslogtreecommitdiff
path: root/tests/util
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-07-25 11:36:26 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-07-26 09:31:38 +0100
commit5221c65d10e06252022dacd245b4836c15d341d2 (patch)
treec006c3f8082e65e757b4eaf83a2602bf85ac456a /tests/util
parent170bf6f89b90a5ee28b21a173061a9002454b940 (diff)
util/wfl: remove unused default case
Since each case of the (enum context_flavor) flavor is handled we can drop the default case. This will resolve a compiler warning caused by earlier refactoring with commit 5e78dd43e4b ("util/wfl: fold make_config_attrib_list and make_context_description") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97063 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'tests/util')
-rw-r--r--tests/util/piglit-framework-gl/piglit_wfl_framework.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/util/piglit-framework-gl/piglit_wfl_framework.c b/tests/util/piglit-framework-gl/piglit_wfl_framework.c
index e76bbb7ef..07ede3daf 100644
--- a/tests/util/piglit-framework-gl/piglit_wfl_framework.c
+++ b/tests/util/piglit-framework-gl/piglit_wfl_framework.c
@@ -281,10 +281,6 @@ parse_test_config(const struct piglit_gl_test_config *test_config,
head_attrib_list[i++] = minor_version;
break;
}
-
- default:
- assert(0);
- return NULL;
}
/* There are no 3.1 core profiles -- the closest is 3.1 context without