comdlg32: Unreachable code fix
Andrew Talbot
andrew.talbot at talbotville.com
Wed Dec 31 12:50:13 CST 2008
In the existing code, the "goto" is not required, and its presence prevents the
following "break" from being reached.
-- Andy.
---
Changelog:
comdlg32: Unreachable code fix.
diff --git a/dlls/comdlg32/filedlg.c b/dlls/comdlg32/filedlg.c
index e1eedd1..386a201 100644
--- a/dlls/comdlg32/filedlg.c
+++ b/dlls/comdlg32/filedlg.c
@@ -2205,7 +2205,6 @@ BOOL FILEDLG95_OnOpen(HWND hwnd)
ret = EndDialog(hwnd, FALSE);
COMDLG32_SetCommDlgExtendedError(FNERR_BUFFERTOOSMALL);
}
- goto ret;
}
break;
}
More information about the wine-patches
mailing list