Fixed compiler warning (check SM forums for details), fixed compiler crash, seemed to be caused by the string parameter not being defaulted to an empty string, using new String:... had no effect, so I went through and defaulted all String parameters to (not uncluding constant expressions).

This commit is contained in:
Greyscale committed 2009-05-02 07:09:55 +02:00
1 parent 0404230fc8
commit 2ec263f2a0
5 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -688,7 +688,7 @@ ClassClientSetDefaultIndexes(client = -1)
* index will be used as a client index.
* @return Number of cells written.
*/
ClassDumpData(index, cachetype, String:buffer[], maxlen)
ClassDumpData(index, cachetype, String:buffer[] = "", maxlen)
{
new cellcount;
decl String:attribute[320];