[gnumeric] sparse: use compound statement for do...while to please sparse.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] sparse: use compound statement for do...while to please sparse.
- Date: Sat, 10 Jul 2010 03:12:49 +0000 (UTC)
commit 2943601078e56bb99b842348d86f3fdc130d04a0
Author: Morten Welinder <terra gnome org>
Date: Fri Jul 9 22:21:33 2010 -0400
sparse: use compound statement for do...while to please sparse.
src/widgets/gnumeric-expr-entry.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/widgets/gnumeric-expr-entry.c b/src/widgets/gnumeric-expr-entry.c
index c49d515..7b615f3 100644
--- a/src/widgets/gnumeric-expr-entry.c
+++ b/src/widgets/gnumeric-expr-entry.c
@@ -1486,9 +1486,9 @@ gnm_expr_entry_find_range (GnmExprEntry *gee)
/* rangerefs cannot start in the middle of a sequence
* of alphanumerics */
if (g_unichar_isalnum (g_utf8_get_char (ptr))) {
- do
+ do {
ptr = g_utf8_next_char (ptr);
- while (ptr <= cursor && g_unichar_isalnum (g_utf8_get_char (ptr)));
+ } while (ptr <= cursor && g_unichar_isalnum (g_utf8_get_char (ptr)));
} else
ptr = g_utf8_next_char (ptr);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]