Fix warning on Macs.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10117 4a71c877-e1ca-e34f-864e-861f7616d084
master
Christian Ohm 2010-03-03 00:23:27 +00:00 committed by Git SVN Gateway
parent 1b1a402b3d
commit 3cea69221b
1 changed files with 5 additions and 0 deletions

View File

@ -103,6 +103,11 @@ switch (type)
/* * */
return RegisterClipboardFormatA(format);
#elif defined(WZ_WS_MAC)
/* * */
// Meaningless value to prevent "control reaches end of non-void function" warning
return 0;
#endif /* scrap type */
}
}