From 16e7a1287829fe1a580f949fabdaf2df9854800f Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Fri, 16 Feb 2007 17:13:29 +0000 Subject: Some very obvious cleanups. svn-id: r25635 --- backends/fs/ds/ds-fs.cpp | 2 +- backends/platform/x11/x11.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'backends') diff --git a/backends/fs/ds/ds-fs.cpp b/backends/fs/ds/ds-fs.cpp index e0e7be3fea..883ad2d7ca 100644 --- a/backends/fs/ds/ds-fs.cpp +++ b/backends/fs/ds/ds-fs.cpp @@ -567,7 +567,7 @@ size_t std_fread(const void* ptr, size_t size, size_t numItems, FILE* handle) { if (feof(handle)) eof = true; *(((char *) (ptr)) + r * size + t) = getc(handle); }*/ - int left = size * numItems;; + int left = size * numItems; int bytesRead = -1; while ((left > 0) && (!FAT_feof((FAT_FILE *) handle))) { int amount = left > 8192? 8192: left; diff --git a/backends/platform/x11/x11.cpp b/backends/platform/x11/x11.cpp index a16fbe8adc..7be5a976a9 100644 --- a/backends/platform/x11/x11.cpp +++ b/backends/platform/x11/x11.cpp @@ -244,7 +244,7 @@ static void *sound_and_music_thread(void *params) { param = AFMT_S16_LE; if (ioctl(sound_fd, SNDCTL_DSP_SETFMT, ¶m) == -1) { warning("Error in the SNDCTL_DSP_SETFMT ioctl!\n"); - return NULL;; + return NULL; } if (param != AFMT_S16_LE) { warning("AFMT_S16_LE not supported!\n"); -- cgit v1.2.3