]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/rscript/rscript.cpp
Shut up compilers
[stg.git] / projects / stargazer / plugins / other / rscript / rscript.cpp
index b4bbb1a0b40e177a1aca6c688cbeed2d4fd37a61..d1768ee610d85d4c7bd828e44d18019840ad90f4 100644 (file)
@@ -357,7 +357,11 @@ while (it != authorizedUsers.end())
     }
 }
 //-----------------------------------------------------------------------------
+#ifdef NDEBUG
+bool REMOTE_SCRIPT::PreparePacket(char * buf, size_t, uint32_t ip, RS_USER & rsu, bool forceDisconnect) const
+#else
 bool REMOTE_SCRIPT::PreparePacket(char * buf, size_t bufSize, uint32_t ip, RS_USER & rsu, bool forceDisconnect) const
+#endif
 {
 RS_PACKET_HEADER packetHead;