RPS tests: Get rid of warning (unused argument)
authorJulius Bünger <buenger@mytum.de>
Thu, 22 Nov 2018 15:29:47 +0000 (16:29 +0100)
committerJulius Bünger <buenger@mytum.de>
Thu, 22 Nov 2018 23:22:30 +0000 (00:22 +0100)
src/rps/test_service_rps_custommap.c
src/rps/test_service_rps_sampler_elem.c

index 8ce03070e8c1ba5a9cb61ea88181ca3727b858da..003523087a17cbb1985116ca4727249601a39b75 100644 (file)
@@ -11,7 +11,7 @@
      WITHOUT ANY WARRANTY; without even the implied warranty of
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      Affero General Public License for more details.
-    
+
      You should have received a copy of the GNU Affero General Public License
      along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
@@ -112,6 +112,9 @@ check ()
 int
 main (int argc, char *argv[])
 {
+  (void) argc;
+  (void) argv;
+
   GNUNET_log_setup ("test_service_rps_peers", 
                    "WARNING",
                    NULL);
index 43efc8691348fec61390b725cda571f13763b1a4..c68a3e38427970f7843c27efa2446133c77afdf8 100644 (file)
@@ -11,7 +11,7 @@
      WITHOUT ANY WARRANTY; without even the implied warranty of
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      Affero General Public License for more details.
-    
+
      You should have received a copy of the GNU Affero General Public License
      along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
@@ -194,6 +194,9 @@ check ()
 int
 main (int argc, char *argv[])
 {
+  (void) argc;
+  (void) argv;
+
   GNUNET_log_setup ("test_service_rps_peers", 
                    "WARNING",
                    NULL);