mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Remove all uses of LOVE_UNUSED, and simply not name the arguments instead
This commit is contained in:
@@ -587,7 +587,7 @@ namespace opengl
|
||||
lineWidth = width;
|
||||
}
|
||||
|
||||
void Graphics::setLineStyle(Graphics::LineStyle style )
|
||||
void Graphics::setLineStyle(Graphics::LineStyle/* style*/ )
|
||||
{
|
||||
//// XXX: actually enables antialiasing for _all_ polygons.
|
||||
//// may need investigation if wanted or not
|
||||
@@ -599,7 +599,6 @@ namespace opengl
|
||||
// glEnable (GL_POLYGON_SMOOTH);
|
||||
// glHint (GL_POLYGON_SMOOTH_HINT, GL_NICEST);
|
||||
//}
|
||||
LOVE_UNUSED(style);
|
||||
}
|
||||
|
||||
void Graphics::setLine( float width, Graphics::LineStyle style )
|
||||
|
||||
@@ -88,9 +88,8 @@ namespace opengl
|
||||
delete [] buf;
|
||||
}
|
||||
|
||||
void *VertexArray::map(GLenum access)
|
||||
void *VertexArray::map(GLenum/* access*/)
|
||||
{
|
||||
LOVE_UNUSED(access);
|
||||
return buf;
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace thread
|
||||
class Mutex {
|
||||
private:
|
||||
SDL_mutex* mutex;
|
||||
Mutex(const Mutex& mutex) {LOVE_UNUSED(mutex);}
|
||||
Mutex(const Mutex&/* mutex*/) {}
|
||||
|
||||
friend class Conditional;
|
||||
|
||||
@@ -49,7 +49,7 @@ namespace thread
|
||||
class ThreadBase {
|
||||
private:
|
||||
SDL_Thread* thread;
|
||||
ThreadBase(ThreadBase& thread) {LOVE_UNUSED(thread);}
|
||||
ThreadBase(ThreadBase&/* thread*/) {}
|
||||
bool running;
|
||||
|
||||
static int thread_runner(void* param);
|
||||
@@ -71,7 +71,7 @@ namespace thread
|
||||
|
||||
class Semaphore {
|
||||
private:
|
||||
Semaphore(const Semaphore& sem) {LOVE_UNUSED(sem);}
|
||||
Semaphore(const Semaphore&/* sem*/) {}
|
||||
SDL_sem* semaphore;
|
||||
|
||||
public:
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace thread
|
||||
private:
|
||||
Mutex* mutex;
|
||||
|
||||
Lock(Lock& lock) {LOVE_UNUSED(lock);}
|
||||
Lock(Lock&/* lock*/) {}
|
||||
|
||||
public:
|
||||
Lock(Mutex* m): mutex(m) {
|
||||
|
||||
Reference in New Issue
Block a user