Commit f38b440c authored by Paul Eggert's avatar Paul Eggert

* coding.c (coding_set_source, coding_set_destination):

Use "else { /* comment */ }" rather than "else /* comment */;"
for clarity, and to avoid gcc -Wempty-body warning.
parent 0ac2c299
......@@ -38,6 +38,10 @@
does not deduce are never used uninitialized.
(load_charset): Abort instead of using uninitialized var.
* coding.c (coding_set_source, coding_set_destination):
Use "else { /* comment */ }" rather than "else /* comment */;"
for clarity, and to avoid gcc -Wempty-body warning.
2011-03-06 Chong Yidong <cyd@stupidchicken.com>
* xdisp.c (redisplay_window): Revert incorrect logic in 2011-03-06
......@@ -1051,9 +1051,10 @@ coding_set_source (struct coding_system *coding)
coding->source = SDATA (coding->src_object) + coding->src_pos_byte;
}
else
/* Otherwise, the source is C string and is never relocated
automatically. Thus we don't have to update anything. */
;
{
/* Otherwise, the source is C string and is never relocated
automatically. Thus we don't have to update anything. */
}
}
static void
......@@ -1079,9 +1080,10 @@ coding_set_destination (struct coding_system *coding)
}
}
else
/* Otherwise, the destination is C string and is never relocated
automatically. Thus we don't have to update anything. */
;
{
/* Otherwise, the destination is C string and is never relocated
automatically. Thus we don't have to update anything. */
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment