[143217] trunk/base/src/pextlib1.0/sip_copy_proc.c

cal at macports.org cal at macports.org
Sat Dec 12 09:03:08 PST 2015


Revision: 143217
          https://trac.macports.org/changeset/143217
Author:   cal at macports.org
Date:     2015-12-07 15:57:14 -0800 (Mon, 07 Dec 2015)
Log Message:
-----------
base: pextlib1.0: silence unused parameter warnings on systems < 10.11

Modified Paths:
--------------
    trunk/base/src/pextlib1.0/sip_copy_proc.c

Modified: trunk/base/src/pextlib1.0/sip_copy_proc.c
===================================================================
--- trunk/base/src/pextlib1.0/sip_copy_proc.c	2015-12-07 23:52:44 UTC (rev 143216)
+++ trunk/base/src/pextlib1.0/sip_copy_proc.c	2015-12-07 23:57:14 UTC (rev 143217)
@@ -119,6 +119,11 @@
 static copy_needed_return_t copy_needed(const char *path, char *const argv[],
         char **outargv[], char *const environ[], struct stat *st) {
 #ifndef SF_RESTRICTED /* no system integrity protection */
+    (void) path;
+    (void) argv;
+    (void) outargv;
+    (void) environ;
+    (void) st;
     return copy_not_needed;
 #else /* defined(SF_RESTRICTED) */
     // check whether DYLD_INSERT_LIBRARIES is set
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/7ccce49c/attachment.html>


More information about the macports-changes mailing list