Fixed some minor compiler warnings

This commit is contained in:
Alex Szpakowski
2014-03-01 21:16:01 -04:00
parent ec0f428c4f
commit 55514720a6
21 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ public:
/**
* Destructor.
**/
virtual ~Data() {};
virtual ~Data() {}
/**
* Gets a pointer to the data. This pointer will obviously not
+1 -1
View File
@@ -23,4 +23,4 @@
namespace love
{
// Implementation in header.
}
}
+1 -1
View File
@@ -38,4 +38,4 @@ char *b64_decode(const char *src, int slen, int &size);
} // love
#endif // LOVE_B64_H
#endif // LOVE_B64_H
+1 -1
View File
@@ -45,4 +45,4 @@ void replace_char(std::string &str, char find, char replace);
} // love
#endif // LOVE_WINDOWS
#endif // LOVE_WINDOWS
+1 -1
View File
@@ -60,7 +60,7 @@ struct Image
const uint8_t *data;
Image() : width(0), height(0), dataSize(0), data(0)
{};
{}
};
/**
+1 -1
View File
@@ -67,7 +67,7 @@ public:
/**
* Destructor.
**/
virtual ~Audio() {};
virtual ~Audio() {}
virtual Source *newSource(love::sound::Decoder *decoder) = 0;
virtual Source *newSource(love::sound::SoundData *soundData) = 0;
+1 -1
View File
@@ -54,4 +54,4 @@ public:
} // font
} // love
#endif // LOVE_FONT_FONT_H
#endif // LOVE_FONT_FONT_H
+1 -1
View File
@@ -79,4 +79,4 @@ private:
} // font
} // love
#endif // LOVE_FONT_IMAGE_RASTERIZER_H
#endif // LOVE_FONT_IMAGE_RASTERIZER_H
+1 -1
View File
@@ -96,4 +96,4 @@ bool Rasterizer::hasGlyphs(const std::string &text) const
}
} // font
} // love
} // love
+1 -1
View File
@@ -114,4 +114,4 @@ protected:
} // font
} // love
#endif // LOVE_FONT_RASTERIZER_H
#endif // LOVE_FONT_RASTERIZER_H
@@ -146,4 +146,4 @@ bool TrueTypeRasterizer::hasGlyph(uint32 glyph) const
} // freetype
} // font
} // love
} // love
+1 -1
View File
@@ -175,7 +175,7 @@ private:
return texture < other.texture;
else
return startvertex < other.startvertex;
};
}
};
bool initializeTexture(GLenum format);
+1 -1
View File
@@ -65,7 +65,7 @@ public:
INSERT_MODE_TOP,
INSERT_MODE_BOTTOM,
INSERT_MODE_RANDOM,
INSERT_MODE_MAX_ENUM,
INSERT_MODE_MAX_ENUM
};
/**
+2 -2
View File
@@ -47,7 +47,7 @@ public:
/**
* Destructor.
**/
virtual ~Image() {};
virtual ~Image() {}
/**
* Creates new ImageData from FileData.
@@ -93,4 +93,4 @@ public:
} // image
} // love
#endif // LOVE_IMAGE_IMAGE_H
#endif // LOVE_IMAGE_IMAGE_H
+1 -1
View File
@@ -49,7 +49,7 @@ public:
BUTTON_MAX_ENUM
};
virtual ~Mouse() {};
virtual ~Mouse() {}
virtual Cursor *newCursor(love::image::ImageData *data, int hotx, int hoty) = 0;
virtual Cursor *getSystemCursor(Cursor::SystemCursor cursortype) = 0;
+2 -2
View File
@@ -51,7 +51,7 @@ int w_Cursor_getType(lua_State *L)
lua_pushstring(L, typestr);
return 1;
};
}
static const luaL_Reg functions[] =
{
@@ -65,4 +65,4 @@ extern "C" int luaopen_cursor(lua_State *L)
}
} // mouse
} // love
} // love
@@ -140,4 +140,4 @@ extern "C" int luaopen_motorjoint(lua_State *L)
} // box2d
} // phyics
} // love
} // love
+1 -1
View File
@@ -67,7 +67,7 @@ public:
/**
* Destructor. Should free internal buffer.
**/
virtual ~Decoder() {};
virtual ~Decoder() {}
/**
* Decodes the next chunk of the music stream, this will usually be
+1 -1
View File
@@ -183,4 +183,4 @@ void FLACDecoder::error_callback(FLAC__StreamDecoderErrorStatus status)
} // sound
} // love
#endif // 0
#endif // 0
+1 -1
View File
@@ -146,4 +146,4 @@ int GmeDecoder::getBitDepth() const
} // sound
} // love
#endif // LOVE_SUPPORT_GME
#endif // LOVE_SUPPORT_GME
+1 -1
View File
@@ -109,4 +109,4 @@ extern "C" int luaopen_love_system(lua_State *L)
}
} // system
} // love
} // love