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

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Wed Apr 25 21:31:24 CEST 2007


Revision: 26594
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26594&view=rev
Author:   fingolfin
Date:     2007-04-25 12:31:23 -0700 (Wed, 25 Apr 2007)

Log Message:
-----------
Removing lots of superfluous semicola (see mail by David Weinehall on scummvm-devel)

Modified Paths:
--------------
    scummvm/trunk/backends/platform/sdl/sdl-common.h
    scummvm/trunk/common/system.h
    scummvm/trunk/engines/gob/draw.h
    scummvm/trunk/engines/gob/game.h
    scummvm/trunk/engines/gob/goblin.h
    scummvm/trunk/engines/gob/init.h
    scummvm/trunk/engines/gob/inter.h
    scummvm/trunk/engines/gob/mult.h
    scummvm/trunk/engines/gob/parse.h
    scummvm/trunk/engines/gob/scenery.h
    scummvm/trunk/engines/gob/video.h
    scummvm/trunk/engines/queen/command.h
    scummvm/trunk/engines/scumm/he/logic_he.h
    scummvm/trunk/engines/scumm/he/resource_he.h
    scummvm/trunk/engines/scumm/player_v2a.cpp
    scummvm/trunk/engines/scumm/smush/smush_player.cpp
    scummvm/trunk/engines/sky/control.h
    scummvm/trunk/engines/sky/disk.h
    scummvm/trunk/engines/sky/logic.h
    scummvm/trunk/engines/sky/screen.h
    scummvm/trunk/engines/sky/sound.h
    scummvm/trunk/engines/sword1/credits.h
    scummvm/trunk/engines/sword1/sound.h
    scummvm/trunk/engines/sword2/screen.cpp
    scummvm/trunk/graphics/font.h
    scummvm/trunk/gui/theme.h
    scummvm/trunk/sound/adpcm.cpp
    scummvm/trunk/sound/mixer.h

Modified: scummvm/trunk/backends/platform/sdl/sdl-common.h
===================================================================
--- scummvm/trunk/backends/platform/sdl/sdl-common.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/backends/platform/sdl/sdl-common.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -117,7 +117,7 @@
 	void disableCursorPalette(bool disable) {
 		_cursorPaletteDisabled = disable;
 		blitCursor();
-	};
+	}
 
 	// Shaking is used in SCUMM. Set current shake position.
 	void setShakePos(int shake_pos);

Modified: scummvm/trunk/common/system.h
===================================================================
--- scummvm/trunk/common/system.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/common/system.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -352,14 +352,14 @@
 	 *       of the relevant methods simply do nothing.
 	 * @see endGFXTransaction
 	 */
-	virtual void beginGFXTransaction() {};
+	virtual void beginGFXTransaction() {}
 
 
 	/**
 	 * End (and thereby commit) the current GFX transaction.
 	 * @see beginGFXTransaction
 	 */
-	virtual void endGFXTransaction() {};
+	virtual void endGFXTransaction() {}
 
 
 	/**
@@ -656,7 +656,7 @@
 	 * @see setPalette
 	 * @see kFeatureCursorHasPalette
 	 */
-	virtual void setCursorPalette(const byte *colors, uint start, uint num) {};
+	virtual void setCursorPalette(const byte *colors, uint start, uint num) {}
 
 	/**
 	 * Disable or enable cursor palette.
@@ -668,7 +668,7 @@
 	 * @see setPalette
 	 * @see kFeatureCursorHasPalette
 	 */
-	virtual void disableCursorPalette(bool disable) {};
+	virtual void disableCursorPalette(bool disable) {}
 
 	//@}
 

Modified: scummvm/trunk/engines/gob/draw.h
===================================================================
--- scummvm/trunk/engines/gob/draw.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/gob/draw.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -154,7 +154,7 @@
 	virtual void spriteOperation(int16 operation) = 0;
 
 	Draw(GobEngine *vm);
-	virtual ~Draw() {};
+	virtual ~Draw() {}
 
 protected:
 	GobEngine *_vm;
@@ -170,7 +170,7 @@
 	virtual void spriteOperation(int16 operation);
 
 	Draw_v1(GobEngine *vm);
-	virtual ~Draw_v1() {};
+	virtual ~Draw_v1() {}
 };
 
 class Draw_v2 : public Draw_v1 {
@@ -183,7 +183,7 @@
 	virtual void spriteOperation(int16 operation);
 
 	Draw_v2(GobEngine *vm);
-	virtual ~Draw_v2() {};
+	virtual ~Draw_v2() {}
 };
 
 class Draw_Bargon: public Draw_v2 {

Modified: scummvm/trunk/engines/gob/game.h
===================================================================
--- scummvm/trunk/engines/gob/game.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/gob/game.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -248,7 +248,7 @@
 	virtual void prepareStart(void);
 
 	Game_v1(GobEngine *vm);
-	virtual ~Game_v1() {};
+	virtual ~Game_v1() {}
 
 protected:
 	virtual void pushCollisions(char all);
@@ -276,7 +276,7 @@
 	virtual void prepareStart(void);
 
 	Game_v2(GobEngine *vm);
-	virtual ~Game_v2() {};
+	virtual ~Game_v2() {}
 
 protected:
 	struct CollLast {

Modified: scummvm/trunk/engines/gob/goblin.h
===================================================================
--- scummvm/trunk/engines/gob/goblin.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/gob/goblin.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -271,7 +271,7 @@
 			int16 nextAct, int16 framesCount);
 
 	Goblin_v1(GobEngine *vm);
-	virtual ~Goblin_v1() {};
+	virtual ~Goblin_v1() {}
 
 protected:
 	virtual bool isMovement(int8 state) { return false; }
@@ -291,7 +291,7 @@
 			int16 nextAct, int16 framesCount);
 
 	Goblin_v2(GobEngine *vm);
-	virtual ~Goblin_v2() {};
+	virtual ~Goblin_v2() {}
 
 protected:
 	virtual bool isMovement(int8 state);

Modified: scummvm/trunk/engines/gob/init.h
===================================================================
--- scummvm/trunk/engines/gob/init.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/gob/init.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -35,7 +35,7 @@
 	virtual void initVideo() = 0;
 
 	Init(GobEngine *vm);
-	virtual ~Init() {};
+	virtual ~Init() {}
 
 protected:
 	Video::PalDesc *_palDesc;
@@ -50,7 +50,7 @@
 	virtual void initVideo();
 
 	Init_v1(GobEngine *vm);
-	virtual ~Init_v1() {};
+	virtual ~Init_v1() {}
 };
 
 class Init_v2 : public Init_v1 {
@@ -58,7 +58,7 @@
 	virtual void initVideo();
 
 	Init_v2(GobEngine *vm);
-	virtual ~Init_v2() {};
+	virtual ~Init_v2() {}
 };
 
 class Init_v3 : public Init_v2 {

Modified: scummvm/trunk/engines/gob/inter.h
===================================================================
--- scummvm/trunk/engines/gob/inter.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/gob/inter.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -61,7 +61,7 @@
 	virtual void animPalette() = 0;
 
 	Inter(GobEngine *vm);
-	virtual ~Inter() {};
+	virtual ~Inter() {}
 
 protected:
 	struct OpFuncParams {

Modified: scummvm/trunk/engines/gob/mult.h
===================================================================
--- scummvm/trunk/engines/gob/mult.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/gob/mult.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -293,7 +293,7 @@
 class Mult_v1 : public Mult {
 public:
 	Mult_v1(GobEngine *vm);
-	virtual ~Mult_v1() {};
+	virtual ~Mult_v1() {}
 
 	virtual void loadMult(int16 resId);
 	virtual void freeMultKeys();

Modified: scummvm/trunk/engines/gob/parse.h
===================================================================
--- scummvm/trunk/engines/gob/parse.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/gob/parse.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -36,7 +36,7 @@
 	virtual int16 parseExpr(byte stopToken, byte *resultPtr) = 0;
 	
 	Parse(GobEngine *vm);
-	virtual ~Parse() {};
+	virtual ~Parse() {}
 
 protected:
 	enum PointerType {
@@ -56,7 +56,7 @@
 class Parse_v1 : public Parse {
 public:
 	Parse_v1(GobEngine *vm);
-	virtual ~Parse_v1() {};
+	virtual ~Parse_v1() {}
 
 	virtual int16 parseVarIndex(void);
 	virtual int16 parseValExpr(byte stopToken = 99);
@@ -66,7 +66,7 @@
 class Parse_v2 : public Parse_v1 {
 public:
 	Parse_v2(GobEngine *vm);
-	virtual ~Parse_v2() {};
+	virtual ~Parse_v2() {}
 
 	virtual int16 parseVarIndex(void);
 	virtual int16 parseValExpr(byte stopToken = 99);

Modified: scummvm/trunk/engines/gob/scenery.h
===================================================================
--- scummvm/trunk/engines/gob/scenery.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/gob/scenery.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -156,7 +156,7 @@
 	virtual int16 loadAnim(char search);
 
 	Scenery_v1(GobEngine *vm);
-	virtual ~Scenery_v1() {};
+	virtual ~Scenery_v1() {}
 };
 
 class Scenery_v2 : public Scenery_v1 {
@@ -164,7 +164,7 @@
 	virtual int16 loadAnim(char search);
 
 	Scenery_v2(GobEngine *vm);
-	virtual ~Scenery_v2() {};
+	virtual ~Scenery_v2() {}
 };
 
 } // End of namespace Gob

Modified: scummvm/trunk/engines/gob/video.h
===================================================================
--- scummvm/trunk/engines/gob/video.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/gob/video.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -168,7 +168,7 @@
 			int16 x, int16 y, int16 transp, SurfaceDesc *destDesc);
 
 	Video_v1(GobEngine *vm);
-	virtual ~Video_v1() {};
+	virtual ~Video_v1() {}
 };
 
 class Video_v2 : public Video_v1 {
@@ -177,7 +177,7 @@
 			int16 x, int16 y, int16 transp, SurfaceDesc *destDesc);
 
 	Video_v2(GobEngine *vm);
-	virtual ~Video_v2() {};
+	virtual ~Video_v2() {}
 };
 
 class VideoDriver {

Modified: scummvm/trunk/engines/queen/command.h
===================================================================
--- scummvm/trunk/engines/queen/command.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/queen/command.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -185,7 +185,7 @@
 	void lookForCurrentIcon(int16 cx, int16 cy);
 
 	//! returns true if the verb is an action verb
-	bool isVerbAction(Verb v) const { return (v >= VERB_PANEL_COMMAND_FIRST && v <= VERB_PANEL_COMMAND_LAST) || (v == VERB_WALK_TO); };
+	bool isVerbAction(Verb v) const { return (v >= VERB_PANEL_COMMAND_FIRST && v <= VERB_PANEL_COMMAND_LAST) || (v == VERB_WALK_TO); }
 
 	//! return true if the verb is an inventory item
 	bool isVerbInv(Verb v) const { return v >= VERB_INV_FIRST && v <= VERB_INV_LAST; }

Modified: scummvm/trunk/engines/scumm/he/logic_he.h
===================================================================
--- scummvm/trunk/engines/scumm/he/logic_he.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/scumm/he/logic_he.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -40,11 +40,11 @@
 	int getFromArray(int arg0, int idx2, int idx1);
 	void putInArray(int arg0, int idx2, int idx1, int val);
 
-	void beforeBootScript(void) {};
-	void initOnce() {};
-	void startOfFrame() {};
-	void endOfFrame() {};
-	void processKeyStroke(int keyPressed) {};
+	void beforeBootScript(void) {}
+	void initOnce() {}
+	void startOfFrame() {}
+	void endOfFrame() {}
+	void processKeyStroke(int keyPressed) {}
 
 	virtual int versionID();
 	virtual int32 dispatch(int op, int numArgs, int32 *args);

Modified: scummvm/trunk/engines/scumm/he/resource_he.h
===================================================================
--- scummvm/trunk/engines/scumm/he/resource_he.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/scumm/he/resource_he.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -118,10 +118,10 @@
 
 	void setCursor(int id);
 
-	virtual int extractResource(int id, byte **buf) { return 0; };
+	virtual int extractResource(int id, byte **buf) { return 0; }
 	virtual int convertIcons(byte *data, int datasize, byte **cursor, int *w, int *h,
 							 int *hotspot_x, int *hotspot_y, int *keycolor,
-							 byte **palette, int *palSize) { return 0; };
+							 byte **palette, int *palSize) { return 0; }
 
 	enum {
 		MAX_CACHED_CURSORS = 10
@@ -154,7 +154,7 @@
 class Win32ResExtractor : public ResExtractor {
  public:
 	Win32ResExtractor(ScummEngine_v70he *scumm);
-	~Win32ResExtractor() {};
+	~Win32ResExtractor() {}
 	int extractResource(int id, byte **data);
 	void setCursor(int id);
 	int convertIcons(byte *data, int datasize, byte **cursor, int *w, int *h,

Modified: scummvm/trunk/engines/scumm/player_v2a.cpp
===================================================================
--- scummvm/trunk/engines/scumm/player_v2a.cpp	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/scumm/player_v2a.cpp	2007-04-25 19:31:23 UTC (rev 26594)
@@ -63,7 +63,7 @@
 class V2A_Sound {
 public:
 	V2A_Sound() : _id(0), _mod(NULL) { }
-	virtual ~V2A_Sound() {};
+	virtual ~V2A_Sound() {}
 	virtual void start(Player_MOD *mod, int id, const byte *data) = 0;
 	virtual bool update() = 0;
 	virtual void stop() = 0;

Modified: scummvm/trunk/engines/scumm/smush/smush_player.cpp
===================================================================
--- scummvm/trunk/engines/scumm/smush/smush_player.cpp	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/scumm/smush/smush_player.cpp	2007-04-25 19:31:23 UTC (rev 26594)
@@ -82,7 +82,7 @@
 	StringResource() :
 		_nbStrings(0),
 		_lastId(-1) {
-	};
+	}
 	~StringResource() {
 		for (int32 i = 0; i < _nbStrings; i++) {
 			delete []_strings[i].string;

Modified: scummvm/trunk/engines/sky/control.h
===================================================================
--- scummvm/trunk/engines/sky/control.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/sky/control.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -133,10 +133,10 @@
 class ConResource {
 public:
 	ConResource(void *pSpData, uint32 pNSprites, uint32 pCurSprite, uint16 pX, uint16 pY, uint32 pText, uint8 pOnClick, OSystem *system, uint8 *screen);
-	virtual ~ConResource(void) {};
-	void setSprite(void *pSpData) { _spriteData = (dataFileHeader*)pSpData; };
-	void setText(uint32 pText) { if (pText) _text = pText + 0x7000; else _text = 0; };
-	void setXY(uint16 x, uint16 y) { _x = x; _y = y; };
+	virtual ~ConResource(void) {}
+	void setSprite(void *pSpData) { _spriteData = (dataFileHeader*)pSpData; }
+	void setText(uint32 pText) { if (pText) _text = pText + 0x7000; else _text = 0; }
+	void setXY(uint16 x, uint16 y) { _x = x; _y = y; }
 	bool isMouseOver(uint32 mouseX, uint32 mouseY);
 	virtual void drawToScreen(bool doMask);
 

Modified: scummvm/trunk/engines/sky/disk.h
===================================================================
--- scummvm/trunk/engines/sky/disk.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/sky/disk.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -54,7 +54,7 @@
 	void fnCacheChip(uint16 *fList);
 	void fnCacheFiles(void);
 	void fnFlushBuffers(void);
-	uint32 *giveLoadedFilesList(void) { return _loadedFilesList; };
+	uint32 *giveLoadedFilesList(void) { return _loadedFilesList; }
 	void refreshFilesList(uint32 *list);
 
 protected:

Modified: scummvm/trunk/engines/sky/logic.h
===================================================================
--- scummvm/trunk/engines/sky/logic.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/sky/logic.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -143,7 +143,7 @@
 		Sound *skySound);
 	~Logic(void);
 	void engine();
-	void useControlInstance(Control *control) { _skyControl = control; };
+	void useControlInstance(Control *control) { _skyControl = control; }
 
 	uint16 mouseScript(uint32 scrNum, Compact *scriptComp);
 

Modified: scummvm/trunk/engines/sky/screen.h
===================================================================
--- scummvm/trunk/engines/sky/screen.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/sky/screen.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -71,14 +71,14 @@
 	void startSequence(uint16 fileNum);
 	void startSequenceItem(uint16 itemNum);
 	void stopSequence(void);
-	bool sequenceRunning(void) { return _seqInfo.running; };
+	bool sequenceRunning(void) { return _seqInfo.running; }
 	void waitForSequence(void);
-	uint32 seqFramesLeft(void) { return _seqInfo.framesLeft; };
-	uint8 *giveCurrent(void) { return _currentScreen; };
+	uint32 seqFramesLeft(void) { return _seqInfo.framesLeft; }
+	uint8 *giveCurrent(void) { return _currentScreen; }
 	void halvePalette(void);
 
 	//- regular screen.asm routines
-	void forceRefresh(void) { memset(_gameGrid, 0x80, GRID_X * GRID_Y); };
+	void forceRefresh(void) { memset(_gameGrid, 0x80, GRID_X * GRID_Y); }
 	void fnFadeUp(uint32 palNum, uint32 scroll);
 	void fnFadeDown(uint32 scroll);
 	void fnDrawScreen(uint32 palette, uint32 scroll);

Modified: scummvm/trunk/engines/sky/sound.h
===================================================================
--- scummvm/trunk/engines/sky/sound.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/sky/sound.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -70,7 +70,7 @@
 	void playSound(uint16 sound, uint16 volume, uint8 channel);
 	void fnStartFx(uint32 sound, uint8 channel);
 	bool startSpeech(uint16 textNum);
-	bool speechFinished(void) { return !_mixer->isSoundHandleActive(_ingameSpeech); };
+	bool speechFinished(void) { return !_mixer->isSoundHandleActive(_ingameSpeech); }
 	void fnPauseFx(void);
 	void fnUnPauseFx(void);
 	void fnStopFx(void);

Modified: scummvm/trunk/engines/sword1/credits.h
===================================================================
--- scummvm/trunk/engines/sword1/credits.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/sword1/credits.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -40,7 +40,7 @@
 	uint8 *fetchFile(uint32 fileId, uint32 *size = NULL);
 	uint8 *decompressFile(uint32 fileId);
 	void enterPath(uint32 id);
-	void backToRoot(void) { _bufPos = _buf; };
+	void backToRoot(void) { _bufPos = _buf; }
 private:
 	uint8 *_bufPos;
 	uint8 *_buf;

Modified: scummvm/trunk/engines/sword1/sound.h
===================================================================
--- scummvm/trunk/engines/sword1/sound.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/sword1/sound.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -72,10 +72,10 @@
 public:
 	Sound(const char *searchPath, Audio::Mixer *mixer, ResMan *pResMan);
 	~Sound(void);
-	void setSpeechVol(uint8 volL, uint8 volR) { _speechVolL = volL; _speechVolR = volR; };
-	void setSfxVol(uint8 volL, uint8 volR) { _sfxVolL = volL; _sfxVolR = volR; };
-	void giveSpeechVol(uint8 *volL, uint8 *volR) { *volL = _speechVolL; *volR = _speechVolR; };
-	void giveSfxVol(uint8 *volL, uint8 *volR) { *volL = _sfxVolL; *volR = _sfxVolR; };
+	void setSpeechVol(uint8 volL, uint8 volR) { _speechVolL = volL; _speechVolR = volR; }
+	void setSfxVol(uint8 volL, uint8 volR) { _sfxVolL = volL; _sfxVolR = volR; }
+	void giveSpeechVol(uint8 *volL, uint8 *volR) { *volL = _speechVolL; *volR = _speechVolR; }
+	void giveSfxVol(uint8 *volL, uint8 *volR) { *volL = _sfxVolL; *volR = _sfxVolR; }
 	void newScreen(uint32 screen);
 	void quitScreen(void);
 	void closeCowSystem(void);

Modified: scummvm/trunk/engines/sword2/screen.cpp
===================================================================
--- scummvm/trunk/engines/sword2/screen.cpp	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/engines/sword2/screen.cpp	2007-04-25 19:31:23 UTC (rev 26594)
@@ -798,7 +798,7 @@
 	CreditsLine() {
 		str = NULL;
 		sprite = NULL;
-	};
+	}
 
 	~CreditsLine() {
 		free(str);

Modified: scummvm/trunk/graphics/font.h
===================================================================
--- scummvm/trunk/graphics/font.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/graphics/font.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -81,7 +81,7 @@
 class ScummFont : public Font {
 public:
 	virtual int getFontHeight() const { return 8; }
-	virtual int getMaxCharWidth() const { return 8; };
+	virtual int getMaxCharWidth() const { return 8; }
 
 	virtual int getCharWidth(byte chr) const;
 	virtual void drawChar(Surface *dst, byte chr, int x, int y, uint32 color) const;
@@ -126,7 +126,7 @@
 	~NewFont();
 
 	virtual int getFontHeight() const { return desc.height; }
-	virtual int getMaxCharWidth() const { return desc.maxwidth; };
+	virtual int getMaxCharWidth() const { return desc.maxwidth; }
 
 	virtual int getCharWidth(byte chr) const;
 	virtual void drawChar(Surface *dst, byte chr, int x, int y, uint32 color) const;

Modified: scummvm/trunk/gui/theme.h
===================================================================
--- scummvm/trunk/gui/theme.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/gui/theme.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -183,7 +183,7 @@
 			break;
 		};
 		return Graphics::kTextAlignCenter;
-	};
+	}
 	
 	TextAlign convertAligment(Graphics::TextAlignment align) const {
 		switch (align) {

Modified: scummvm/trunk/sound/adpcm.cpp
===================================================================
--- scummvm/trunk/sound/adpcm.cpp	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/sound/adpcm.cpp	2007-04-25 19:31:23 UTC (rev 26594)
@@ -69,7 +69,7 @@
 
 public:
 	ADPCMInputStream(Common::SeekableReadStream *stream, uint32 size, typesADPCM type, int rate, int channels = 2, uint32 blockAlign = 0);
-	~ADPCMInputStream() {};
+	~ADPCMInputStream() {}
 
 	int readBuffer(int16 *buffer, const int numSamples);
 	int readBufferOKI(int16 *buffer, const int numSamples);

Modified: scummvm/trunk/sound/mixer.h
===================================================================
--- scummvm/trunk/sound/mixer.h	2007-04-25 17:40:27 UTC (rev 26593)
+++ scummvm/trunk/sound/mixer.h	2007-04-25 19:31:23 UTC (rev 26594)
@@ -132,7 +132,7 @@
 	 *
 	 * @return whether the mixer is ready and setup
 	 */
-	bool isReady() const { return _mixerReady; };
+	bool isReady() const { return _mixerReady; }
 
 
 


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