diff options
| author | Paul Eggert | 2011-03-07 17:41:19 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-03-07 17:41:19 -0800 |
| commit | f38b440c4b40777c25631323f2501ffb5ba98251 (patch) | |
| tree | 8d59b708eaea03a6244c39d1f4e3693eef7f9f78 /src/coding.c | |
| parent | 0ac2c2991c1cba4e3c6e5f7b62c7d61b01d69994 (diff) | |
| download | emacs-f38b440c4b40777c25631323f2501ffb5ba98251.tar.gz emacs-f38b440c4b40777c25631323f2501ffb5ba98251.zip | |
* coding.c (coding_set_source, coding_set_destination):
Use "else { /* comment */ }" rather than "else /* comment */;"
for clarity, and to avoid gcc -Wempty-body warning.
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/coding.c b/src/coding.c index f6310369ad3..cb13793daba 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -1051,9 +1051,10 @@ coding_set_source (struct coding_system *coding) | |||
| 1051 | coding->source = SDATA (coding->src_object) + coding->src_pos_byte; | 1051 | coding->source = SDATA (coding->src_object) + coding->src_pos_byte; |
| 1052 | } | 1052 | } |
| 1053 | else | 1053 | else |
| 1054 | /* Otherwise, the source is C string and is never relocated | 1054 | { |
| 1055 | automatically. Thus we don't have to update anything. */ | 1055 | /* Otherwise, the source is C string and is never relocated |
| 1056 | ; | 1056 | automatically. Thus we don't have to update anything. */ |
| 1057 | } | ||
| 1057 | } | 1058 | } |
| 1058 | 1059 | ||
| 1059 | static void | 1060 | static void |
| @@ -1079,9 +1080,10 @@ coding_set_destination (struct coding_system *coding) | |||
| 1079 | } | 1080 | } |
| 1080 | } | 1081 | } |
| 1081 | else | 1082 | else |
| 1082 | /* Otherwise, the destination is C string and is never relocated | 1083 | { |
| 1083 | automatically. Thus we don't have to update anything. */ | 1084 | /* Otherwise, the destination is C string and is never relocated |
| 1084 | ; | 1085 | automatically. Thus we don't have to update anything. */ |
| 1086 | } | ||
| 1085 | } | 1087 | } |
| 1086 | 1088 | ||
| 1087 | 1089 | ||