msi: Do not return success on failure (spotted by clang)
Kirill Smirnov
kirill.k.smirnov at gmail.com
Sun May 8 10:31:47 CDT 2016
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov at gmail.com>
---
dlls/msi/where.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msi/where.c b/dlls/msi/where.c
index e3bc9b7..ddd8c07 100644
--- a/dlls/msi/where.c
+++ b/dlls/msi/where.c
@@ -593,7 +593,7 @@ static UINT WHERE_evaluate( MSIWHEREVIEW *wv, const
UINT rows[],
default:
ERR("Invalid expression type\n");
- break;
+ return ERROR_FUNCTION_FAILED;
}
return ERROR_SUCCESS;
--
2.8.2
More information about the wine-patches
mailing list