[Scummvm-cvs-logs] SF.net SVN: scummvm: [26597] scummvm/trunk

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Thu Apr 26 21:08:53 CEST 2007


Revision: 26597
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26597&view=rev
Author:   fingolfin
Date:     2007-04-26 12:08:53 -0700 (Thu, 26 Apr 2007)

Log Message:
-----------
Removing more semicola

Modified Paths:
--------------
    scummvm/trunk/backends/platform/PalmOS/Src/be_base.h
    scummvm/trunk/backends/platform/PalmOS/Src/be_os5ex.h
    scummvm/trunk/backends/platform/PalmOS/Src/cdaudio.h
    scummvm/trunk/backends/platform/PalmOS/Src/missing/ext_stdio.c
    scummvm/trunk/backends/platform/gp32/startup.c
    scummvm/trunk/backends/platform/maemo/maemo-sdl.h
    scummvm/trunk/backends/platform/ps2/savefile.cpp
    scummvm/trunk/common/rect.h
    scummvm/trunk/engines/agos/sound.cpp
    scummvm/trunk/engines/kyra/kyra.h
    scummvm/trunk/engines/lure/hotspots.h
    scummvm/trunk/engines/lure/intro.h
    scummvm/trunk/engines/lure/res_struct.h
    scummvm/trunk/engines/lure/strings.h
    scummvm/trunk/engines/queen/sound.cpp
    scummvm/trunk/engines/sky/music/musicbase.h
    scummvm/trunk/sound/mods/paula.h

Modified: scummvm/trunk/backends/platform/PalmOS/Src/be_base.h
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/be_base.h	2007-04-26 13:00:52 UTC (rev 26596)
+++ scummvm/trunk/backends/platform/PalmOS/Src/be_base.h	2007-04-26 19:08:53 UTC (rev 26597)
@@ -176,7 +176,7 @@
 	void initBackend();
 
 /*
-	virtual void setFeatureState(Feature f, bool enable) {};
+	virtual void setFeatureState(Feature f, bool enable) {}
 
 
 	bool hasFeature(Feature f);

Modified: scummvm/trunk/backends/platform/PalmOS/Src/be_os5ex.h
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/be_os5ex.h	2007-04-26 13:00:52 UTC (rev 26596)
+++ scummvm/trunk/backends/platform/PalmOS/Src/be_os5ex.h	2007-04-26 19:08:53 UTC (rev 26597)
@@ -45,8 +45,8 @@
 
 class OSystem_PalmOS5Ex : public OSystem_PalmOS5 {
 private:
-//	void timer_handler() {};
-	void sound_handler() {};
+//	void timer_handler() {}
+	void sound_handler() {}
 //	void int_quit();
 
 	SndStreamVariableBufferCallback sound_callback();

Modified: scummvm/trunk/backends/platform/PalmOS/Src/cdaudio.h
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/cdaudio.h	2007-04-26 13:00:52 UTC (rev 26596)
+++ scummvm/trunk/backends/platform/PalmOS/Src/cdaudio.h	2007-04-26 19:08:53 UTC (rev 26597)
@@ -54,8 +54,8 @@
 	virtual void setVolume(int volume) { _volumeLevel = volume; }
 	virtual int getVolume() const { return _volumeLevel; }
 
-	virtual void upVolume(int value) {};
-	virtual void downVolume(int value) {};
+	virtual void upVolume(int value) {}
+	virtual void downVolume(int value) {}
 
 protected:
 	int _volumeLevel;

Modified: scummvm/trunk/backends/platform/PalmOS/Src/missing/ext_stdio.c
===================================================================
--- scummvm/trunk/backends/platform/PalmOS/Src/missing/ext_stdio.c	2007-04-26 13:00:52 UTC (rev 26596)
+++ scummvm/trunk/backends/platform/PalmOS/Src/missing/ext_stdio.c	2007-04-26 19:08:53 UTC (rev 26597)
@@ -34,7 +34,7 @@
 };
 
 FILE gStdioOutput = {0,0,0,0,0,0};
-static void dummy(Boolean) {};
+static void dummy(Boolean) {}
 
 static LedProc	gStdioLedProc = dummy;
 static UInt16	gStdioVolRefNum = vfsInvalidVolRef;

Modified: scummvm/trunk/backends/platform/gp32/startup.c
===================================================================
--- scummvm/trunk/backends/platform/gp32/startup.c	2007-04-26 13:00:52 UTC (rev 26596)
+++ scummvm/trunk/backends/platform/gp32/startup.c	2007-04-26 19:08:53 UTC (rev 26597)
@@ -87,7 +87,7 @@
 	GpKernelStart ();
 
    GpAppExit ();
-   while (1) {};
+   while (1) {}
    }
 
 void InitializeFont (void)

Modified: scummvm/trunk/backends/platform/maemo/maemo-sdl.h
===================================================================
--- scummvm/trunk/backends/platform/maemo/maemo-sdl.h	2007-04-26 13:00:52 UTC (rev 26596)
+++ scummvm/trunk/backends/platform/maemo/maemo-sdl.h	2007-04-26 19:08:53 UTC (rev 26597)
@@ -33,7 +33,7 @@
 
 class OSystem_MAEMO : public OSystem_SDL {
 public:
-	OSystem_MAEMO() {};
+	OSystem_MAEMO() {}
 
 	void loadGFXMode();
 };

Modified: scummvm/trunk/backends/platform/ps2/savefile.cpp
===================================================================
--- scummvm/trunk/backends/platform/ps2/savefile.cpp	2007-04-26 13:00:52 UTC (rev 26596)
+++ scummvm/trunk/backends/platform/ps2/savefile.cpp	2007-04-26 19:08:53 UTC (rev 26597)
@@ -205,9 +205,9 @@
 	AutoSaveFile(Ps2SaveFileManager *saveMan, const char *filename);
 	~AutoSaveFile(void);
 	virtual uint32 write(const void *ptr, uint32 size);
-	virtual void flush(void) { };
+	virtual void flush(void) {}
 	virtual bool ioFailed(void) { return false; };
-	virtual void clearIOFailed(void) {};
+	virtual void clearIOFailed(void) {}
 private:
 	Ps2SaveFileManager *_saveMan;
 	char _fileName[256];

Modified: scummvm/trunk/common/rect.h
===================================================================
--- scummvm/trunk/common/rect.h	2007-04-26 13:00:52 UTC (rev 26596)
+++ scummvm/trunk/common/rect.h	2007-04-26 19:08:53 UTC (rev 26597)
@@ -36,9 +36,9 @@
 	int16 x;	//!< The horizontal part of the point
 	int16 y;	//!< The vertical part of the point
 
-	Point() : x(0), y(0) {};
-	Point(const Point &p) : x(p.x), y(p.y) {};
-	explicit Point(int16 x1, int16 y1) : x(x1), y(y1) {};
+	Point() : x(0), y(0) {}
+	Point(const Point &p) : x(p.x), y(p.y) {}
+	explicit Point(int16 x1, int16 y1) : x(x1), y(y1) {}
 	Point & operator=(const Point & p) { x = p.x; y = p.y; return *this; };
 	bool operator==(const Point & p) const { return x == p.x && y == p.y; };
 	bool operator!=(const Point & p) const { return x != p.x || y != p.y; };

Modified: scummvm/trunk/engines/agos/sound.cpp
===================================================================
--- scummvm/trunk/engines/agos/sound.cpp	2007-04-26 13:00:52 UTC (rev 26596)
+++ scummvm/trunk/engines/agos/sound.cpp	2007-04-26 19:08:53 UTC (rev 26597)
@@ -116,21 +116,21 @@
 
 class WavSound : public BaseSound {
 public:
-	WavSound(Audio::Mixer *mixer, File *file, uint32 base = 0, bool bigEndian = false) : BaseSound(mixer, file, base, bigEndian) {};
-	WavSound(Audio::Mixer *mixer, File *file, uint32 *offsets) : BaseSound(mixer, file, offsets) {};
+	WavSound(Audio::Mixer *mixer, File *file, uint32 base = 0, bool bigEndian = false) : BaseSound(mixer, file, base, bigEndian) {}
+	WavSound(Audio::Mixer *mixer, File *file, uint32 *offsets) : BaseSound(mixer, file, offsets) {}
 	Audio::AudioStream *makeAudioStream(uint sound);
 	void playSound(uint sound, uint loopSound, Audio::SoundHandle *handle, byte flags, int vol = 0);
 };
 
 class VocSound : public BaseSound {
 public:
-	VocSound(Audio::Mixer *mixer, File *file, uint32 base = 0, bool bigEndian = false) : BaseSound(mixer, file, base, bigEndian) {};
+	VocSound(Audio::Mixer *mixer, File *file, uint32 base = 0, bool bigEndian = false) : BaseSound(mixer, file, base, bigEndian) {}
 	void playSound(uint sound, uint loopSound, Audio::SoundHandle *handle, byte flags, int vol = 0);
 };
 
 class RawSound : public BaseSound {
 public:
-	RawSound(Audio::Mixer *mixer, File *file, uint32 base = 0, bool bigEndian = false) : BaseSound(mixer, file, base, bigEndian) {};
+	RawSound(Audio::Mixer *mixer, File *file, uint32 base = 0, bool bigEndian = false) : BaseSound(mixer, file, base, bigEndian) {}
 	void playSound(uint sound, uint loopSound, Audio::SoundHandle *handle, byte flags, int vol = 0);
 };
 
@@ -267,7 +267,7 @@
 #ifdef USE_MAD
 class MP3Sound : public BaseSound {
 public:
-	MP3Sound(Audio::Mixer *mixer, File *file, uint32 base = 0) : BaseSound(mixer, file, base) {};
+	MP3Sound(Audio::Mixer *mixer, File *file, uint32 base = 0) : BaseSound(mixer, file, base) {}
 	Audio::AudioStream *makeAudioStream(uint sound);
 	void playSound(uint sound, uint loopSound, Audio::SoundHandle *handle, byte flags, int vol = 0);
 };
@@ -296,7 +296,7 @@
 #ifdef USE_VORBIS
 class VorbisSound : public BaseSound {
 public:
-	VorbisSound(Audio::Mixer *mixer, File *file, uint32 base = 0) : BaseSound(mixer, file, base) {};
+	VorbisSound(Audio::Mixer *mixer, File *file, uint32 base = 0) : BaseSound(mixer, file, base) {}
 	Audio::AudioStream *makeAudioStream(uint sound);
 	void playSound(uint sound, uint loopSound, Audio::SoundHandle *handle, byte flags, int vol = 0);
 };
@@ -325,7 +325,7 @@
 #ifdef USE_FLAC
 class FlacSound : public BaseSound {
 public:
-	FlacSound(Audio::Mixer *mixer, File *file, uint32 base = 0) : BaseSound(mixer, file, base) {};
+	FlacSound(Audio::Mixer *mixer, File *file, uint32 base = 0) : BaseSound(mixer, file, base) {}
 	Audio::AudioStream *makeAudioStream(uint sound);
 	void playSound(uint sound, uint loopSound, Audio::SoundHandle *handle, byte flags, int vol = 0);
 };

Modified: scummvm/trunk/engines/kyra/kyra.h
===================================================================
--- scummvm/trunk/engines/kyra/kyra.h	2007-04-26 13:00:52 UTC (rev 26596)
+++ scummvm/trunk/engines/kyra/kyra.h	2007-04-26 19:08:53 UTC (rev 26597)
@@ -747,7 +747,7 @@
 	// Kyra 2 and 3 main menu
 
 	static const char *_mainMenuStrings[];
-	virtual void gui_initMainMenu() {};
+	virtual void gui_initMainMenu() {}
 	int gui_handleMainMenu();
 	virtual void gui_updateMainMenuAnimation();
 	void gui_drawMainMenu(const char * const *strings, int select);

Modified: scummvm/trunk/engines/lure/hotspots.h
===================================================================
--- scummvm/trunk/engines/lure/hotspots.h	2007-04-26 13:00:52 UTC (rev 26596)
+++ scummvm/trunk/engines/lure/hotspots.h	2007-04-26 19:08:53 UTC (rev 26597)
@@ -166,7 +166,7 @@
 	Direction _direction;
 	int _numSteps;
 public:
-	WalkingActionEntry(Direction dir, int steps): _direction(dir), _numSteps(steps) {};
+	WalkingActionEntry(Direction dir, int steps): _direction(dir), _numSteps(steps) {}
 	Direction direction() { return _direction; }
 	int &rawSteps() { return _numSteps; }
 	int numSteps();

Modified: scummvm/trunk/engines/lure/intro.h
===================================================================
--- scummvm/trunk/engines/lure/intro.h	2007-04-26 13:00:52 UTC (rev 26596)
+++ scummvm/trunk/engines/lure/intro.h	2007-04-26 19:08:53 UTC (rev 26597)
@@ -35,7 +35,7 @@
 	bool showScreen(uint16 screenId, uint16 paletteId, uint16 delaySize);
 	bool delay(uint32 milliseconds);
 public:
-	Introduction(Screen &screen, OSystem &system): _screen(screen), _system(system) {};
+	Introduction(Screen &screen, OSystem &system): _screen(screen), _system(system) {}
 
 	bool show();
 };

Modified: scummvm/trunk/engines/lure/res_struct.h
===================================================================
--- scummvm/trunk/engines/lure/res_struct.h	2007-04-26 13:00:52 UTC (rev 26596)
+++ scummvm/trunk/engines/lure/res_struct.h	2007-04-26 19:08:53 UTC (rev 26597)
@@ -303,7 +303,7 @@
 private:
 	byte _data[ROOM_PATHS_HEIGHT * ROOM_PATHS_WIDTH];
 public:
-	RoomPathsData() {};
+	RoomPathsData() {}
 	RoomPathsData(byte *srcData) { load(srcData); }
 
 	void load(byte *srcData) {

Modified: scummvm/trunk/engines/lure/strings.h
===================================================================
--- scummvm/trunk/engines/lure/strings.h	2007-04-26 13:00:52 UTC (rev 26596)
+++ scummvm/trunk/engines/lure/strings.h	2007-04-26 19:08:53 UTC (rev 26597)
@@ -35,7 +35,7 @@
 	char _ascii;
 
 	CharacterEntry(uint8 numBits, uint32 sequence, char ascii): _numBits(numBits),
-		_sequence(sequence), _ascii(ascii) {};
+		_sequence(sequence), _ascii(ascii) {}
 };
 
 #define MAX_NUM_CHARS 218

Modified: scummvm/trunk/engines/queen/sound.cpp
===================================================================
--- scummvm/trunk/engines/queen/sound.cpp	2007-04-26 13:00:52 UTC (rev 26596)
+++ scummvm/trunk/engines/queen/sound.cpp	2007-04-26 19:08:53 UTC (rev 26597)
@@ -83,7 +83,7 @@
 #ifdef USE_FLAC
 class FLACSound : public PCSound {
 public:
-	FLACSound(Audio::Mixer *mixer, QueenEngine *vm) : PCSound(mixer, vm) {};
+	FLACSound(Audio::Mixer *mixer, QueenEngine *vm) : PCSound(mixer, vm) {}
 protected:
 	void playSoundData(Common::File *f, uint32 size, Audio::SoundHandle *soundHandle) {
 		_mixer->playInputStream(Audio::Mixer::kSFXSoundType, soundHandle, Audio::makeFlacStream(f, size));

Modified: scummvm/trunk/engines/sky/music/musicbase.h
===================================================================
--- scummvm/trunk/engines/sky/music/musicbase.h	2007-04-26 13:00:52 UTC (rev 26596)
+++ scummvm/trunk/engines/sky/music/musicbase.h	2007-04-26 19:08:53 UTC (rev 26597)
@@ -39,7 +39,7 @@
 
 class ChannelBase {
 public:
-	virtual ~ChannelBase() {};
+	virtual ~ChannelBase() {}
 	virtual uint8 process(uint16 aktTime) = 0;
 	virtual void updateVolume(uint16 pVolume) = 0;
 	virtual bool isActive(void) = 0;

Modified: scummvm/trunk/sound/mods/paula.h
===================================================================
--- scummvm/trunk/sound/mods/paula.h	2007-04-26 13:00:52 UTC (rev 26596)
+++ scummvm/trunk/sound/mods/paula.h	2007-04-26 19:08:53 UTC (rev 26597)
@@ -86,7 +86,7 @@
 		} else
 			*buf++ += tmp;
 	}
-	virtual void interrupt(void) {};
+	virtual void interrupt(void) {}
 };
 
 } // End of namespace Audio


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list