summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-07-25 18:28:06 +0200
committerMarek Olšák <[email protected]>2017-07-26 16:47:17 +0200
commit914f11e75b8ebe8a0faab76ce25fe185ab580eee (patch)
tree1a65c7c5718ef3cd836106adf33e965999bdbfb9 /src
parenta7617a49fbde2fcfccdab22886aeabdbf8abb8e4 (diff)
st/mesa: fix unconditional return in st_framebuffer_iface_remove
Noticed by James Legg @ Feral. Cc: 17.2 <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/state_tracker/st_manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c
index 834bcc9f8c2..6447403fc66 100644
--- a/src/mesa/state_tracker/st_manager.c
+++ b/src/mesa/state_tracker/st_manager.c
@@ -560,7 +560,7 @@ st_framebuffer_iface_remove(struct st_manager *smapi,
(struct st_manager_private *)smapi->st_manager_private;
struct hash_entry *entry;
- if (!smPriv || !smPriv->stfbi_ht);
+ if (!smPriv || !smPriv->stfbi_ht)
return;
mtx_lock(&smPriv->st_mutex);