Browse Source

Fix warnings in plSDL.

Darryl Pogue 13 years ago
parent
commit
46e14a43c0
  1. 4
      Sources/Plasma/PubUtilLib/plSDL/plSDL.h
  2. 4
      Sources/Plasma/PubUtilLib/plSDL/plSDLParser.cpp

4
Sources/Plasma/PubUtilLib/plSDL/plSDL.h

@ -516,8 +516,8 @@ private:
plVarDescriptor*& curVar) const; plVarDescriptor*& curVar) const;
bool IParseStateDesc(const char* fileName, hsStream* stream, char token[], plStateDescriptor*& curDesc) const; bool IParseStateDesc(const char* fileName, hsStream* stream, char token[], plStateDescriptor*& curDesc) const;
void DebugMsg(char* fmt, ...) const; void DebugMsg(const char* fmt, ...) const;
void DebugMsgV(char* fmt, va_list args) const; void DebugMsgV(const char* fmt, va_list args) const;
public: public:

4
Sources/Plasma/PubUtilLib/plSDL/plSDLParser.cpp

@ -49,7 +49,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
static const int kTokenLen=256; static const int kTokenLen=256;
void plSDLParser::DebugMsg(char* fmt, ...) const void plSDLParser::DebugMsg(const char* fmt, ...) const
{ {
return; return;
plNetApp* netApp = plSDLMgr::GetInstance()->GetNetApp(); plNetApp* netApp = plSDLMgr::GetInstance()->GetNetApp();
@ -66,7 +66,7 @@ void plSDLParser::DebugMsg(char* fmt, ...) const
va_end(args); va_end(args);
} }
void plSDLParser::DebugMsgV(char* fmt, va_list args) const void plSDLParser::DebugMsgV(const char* fmt, va_list args) const
{ {
if (strlen(fmt)==nil) if (strlen(fmt)==nil)
return; return;

Loading…
Cancel
Save