riched20: Replace an if-statement with empty body with a FIXME
comment.
Michael Stefaniuc
mstefani at redhat.de
Thu Jul 6 17:29:03 CDT 2006
Found by gcc -Wextra.
---
dlls/riched20/caret.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/riched20/caret.c b/dlls/riched20/caret.c
index 057e5d8..da52288 100644
--- a/dlls/riched20/caret.c
+++ b/dlls/riched20/caret.c
@@ -765,8 +765,8 @@ void ME_MouseMove(ME_TextEditor *editor,
y += ME_GetYScrollPos(editor);
tmp_cursor = editor->pCursors[0];
- if (!ME_FindPixelPos(editor, x, y, &tmp_cursor, &editor->bCaretAtEnd))
- /* return */;
+ /* FIXME: do something with the return value of ME_FindPixelPos */
+ ME_FindPixelPos(editor, x, y, &tmp_cursor, &editor->bCaretAtEnd);
if (tmp_cursor.pRun == editor->pCursors[0].pRun &&
tmp_cursor.nOffset == editor->pCursors[0].nOffset)
--
1.4.0
--
Michael Stefaniuc Tel.: +49-711-96437-199
Sr. Network Engineer Fax.: +49-711-96437-111
Red Hat GmbH Email: mstefani at redhat.com
Hauptstaetterstr. 58 http://www.redhat.de/
D-70178 Stuttgart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060707/0cf2769a/attachment.pgp
More information about the wine-patches
mailing list