diff options
| author | Dmitry Antipov | 2014-09-17 19:34:37 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2014-09-17 19:34:37 +0400 |
| commit | 18f88a41a740b43297e70ba169e5c2f847280d32 (patch) | |
| tree | 09c2799103dea33a7a9042b339f81d79ca83dc20 /src/buffer.c | |
| parent | 70d0c024daffa6a0dc273ed38dc3691e12be6cc4 (diff) | |
| download | emacs-18f88a41a740b43297e70ba169e5c2f847280d32.tar.gz emacs-18f88a41a740b43297e70ba169e5c2f847280d32.zip | |
Avoid clang-specific warnings.
* buffer.c (init_buffer): Shut up -Wself-assign.
* process.c (server_accept_connection): Shut up -Wunsequenced.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index a68afc6cd4f..dc2d17f9f67 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -5286,7 +5286,7 @@ init_buffer (int initialized) | |||
| 5286 | } | 5286 | } |
| 5287 | #else /* not USE_MMAP_FOR_BUFFERS */ | 5287 | #else /* not USE_MMAP_FOR_BUFFERS */ |
| 5288 | /* Avoid compiler warnings. */ | 5288 | /* Avoid compiler warnings. */ |
| 5289 | initialized = initialized; | 5289 | (void) initialized; |
| 5290 | #endif /* USE_MMAP_FOR_BUFFERS */ | 5290 | #endif /* USE_MMAP_FOR_BUFFERS */ |
| 5291 | 5291 | ||
| 5292 | Fset_buffer (Fget_buffer_create (build_local_string ("*scratch*"))); | 5292 | Fset_buffer (Fget_buffer_create (build_local_string ("*scratch*"))); |