]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gsocket.c
fixed spurious debug message when right clicking outside of any items area
[wxWidgets.git] / src / msw / gsocket.c
index 2ca87dd3055fc53a2d035647e9fc4050e0cca0cd..60f2a26d15c35b7d3ae67c4499d091260a7fa7a5 100644 (file)
@@ -1464,6 +1464,10 @@ GSocketError _GAddress_Init_UNIX(GAddress *address)
 
 GSocketError GAddress_UNIX_SetPath(GAddress *address, const char *path)
 {
+#if defined(__BORLANDC__)
+  /* prevents unused variable message in Borland */
+  (void)path;
+#endif
   assert (address != NULL);
   address->m_error = GSOCK_INVADDR;
   return GSOCK_INVADDR;
@@ -1471,6 +1475,11 @@ GSocketError GAddress_UNIX_SetPath(GAddress *address, const char *path)
 
 GSocketError GAddress_UNIX_GetPath(GAddress *address, char *path, size_t sbuf)
 {
+#if defined(__BORLANDC__)
+  /* prevents unused variable message in Borland */
+  (void)path;
+  (void)sbuf;
+#endif
   assert (address != NULL);
   address->m_error = GSOCK_INVADDR;
   return GSOCK_INVADDR;