diff options
author | Jani Hakala <[email protected]> | 2014-09-28 15:54:56 +0300 |
---|---|---|
committer | Jani Hakala <[email protected]> | 2014-09-29 00:35:42 +0300 |
commit | c9b40bf1c30d60f76b6954c0d35bee82912531a0 (patch) | |
tree | 2d69dca05a135bfc15a5cc860ab2b3e2ffef1752 /erts/etc/win32/erl.c | |
parent | 2397a14d1113bc2d334dee908269cf3b63c46314 (diff) | |
download | otp-c9b40bf1c30d60f76b6954c0d35bee82912531a0.tar.gz otp-c9b40bf1c30d60f76b6954c0d35bee82912531a0.tar.bz2 otp-c9b40bf1c30d60f76b6954c0d35bee82912531a0.zip |
Fix if-clauses that make code to be unreachable
Fix two cases where use of assigment operator instead of comparison
operator causes if-clauses to be always false and code to be unreachable.
Diffstat (limited to 'erts/etc/win32/erl.c')
-rw-r--r-- | erts/etc/win32/erl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/etc/win32/erl.c b/erts/etc/win32/erl.c index 1d116bf36e..772b668586 100644 --- a/erts/etc/win32/erl.c +++ b/erts/etc/win32/erl.c @@ -264,7 +264,7 @@ static void get_parameters(void) int len; - if (module = NULL) { + if (module == NULL) { error("Cannot GetModuleHandle()"); } |