Various small fixes in file transfer related files to eliminate compilation warnings under Linux.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@563 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfb/SFileTransfer.cxx b/rfb/SFileTransfer.cxx
index 9161fff..0a8b40e 100644
--- a/rfb/SFileTransfer.cxx
+++ b/rfb/SFileTransfer.cxx
@@ -199,6 +199,9 @@
}
}
}
+ // FIXME: For the next line, gcc says:
+ // warning: deleting `void *' is undefined
+ // Perhaps it should not be `void *' at all.
delete [] pUploadData;
return true;
}