aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-11-19 12:41:28 -0700
committerBrian Paul <[email protected]>2015-11-20 09:35:05 -0700
commit108013b8e5c593f9039335010672466ef6ac6010 (patch)
treec1427359d7d5abd9a0852251c1e4737aa935974a /src/mesa/main
parent8a125afa6e88a3eeddba8c7fdc1a75c9b99d5489 (diff)
mesa: whitespaces fixes in _mesa_one_time_init_extension_overrides()
Trivial.
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/extensions.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index e94d2b74749..01cfdf1a4ec 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -300,12 +300,13 @@ _mesa_one_time_init_extension_overrides(void)
/* Copy env_const because strtok() is destructive. */
env = strdup(env_const);
- if (env == NULL || extra_extensions == NULL ||
- cant_disable_extensions == NULL) {
- free(env);
- free(extra_extensions);
- free(cant_disable_extensions);
- return;
+ if (env == NULL ||
+ extra_extensions == NULL ||
+ cant_disable_extensions == NULL) {
+ free(env);
+ free(extra_extensions);
+ free(cant_disable_extensions);
+ return;
}
for (ext = strtok(env, " "); ext != NULL; ext = strtok(NULL, " ")) {