Fix some Clang warnings.
This commit is contained in:
parent
1edffd1d10
commit
f2a3090384
2 changed files with 1 additions and 6 deletions
src
|
@ -149,7 +149,7 @@ void guiErrorMessage (const char *txt, const sg_throwable &throwable)
|
||||||
string msg = txt;
|
string msg = txt;
|
||||||
msg += '\n';
|
msg += '\n';
|
||||||
msg += throwable.getFormattedMessage();
|
msg += throwable.getFormattedMessage();
|
||||||
if (!std::strlen(throwable.getOrigin()) != 0) {
|
if (std::strlen(throwable.getOrigin()) != 0) {
|
||||||
msg += "\n (reported by ";
|
msg += "\n (reported by ";
|
||||||
msg += throwable.getOrigin();
|
msg += throwable.getOrigin();
|
||||||
msg += ')';
|
msg += ')';
|
||||||
|
|
|
@ -53,11 +53,6 @@ using namespace std;
|
||||||
#define MAX_PACKET_SIZE 1200
|
#define MAX_PACKET_SIZE 1200
|
||||||
#define MAX_TEXT_SIZE 128
|
#define MAX_TEXT_SIZE 128
|
||||||
|
|
||||||
// These constants are provided so that the ident
|
|
||||||
// command can list file versions
|
|
||||||
const char sMULTIPLAYMGR_BID[] = "$Id$";
|
|
||||||
const char sMULTIPLAYMGR_HID[] = MULTIPLAYTXMGR_HID;
|
|
||||||
|
|
||||||
struct IdPropertyList {
|
struct IdPropertyList {
|
||||||
unsigned id;
|
unsigned id;
|
||||||
const char* name;
|
const char* name;
|
||||||
|
|
Loading…
Add table
Reference in a new issue