diff options
author | Julius Bünger <buenger@mytum.de> | 2018-11-22 16:29:47 +0100 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2018-11-23 00:22:30 +0100 |
commit | d8505f5da65fc8269505621ff3284df2aa980edd (patch) | |
tree | 9d0791866407ef4df11e7a1f20bae498dfc604a2 /src | |
parent | caef232e920d73fc974095f99cc61dd1700f1cb6 (diff) | |
download | gnunet-d8505f5da65fc8269505621ff3284df2aa980edd.tar.gz gnunet-d8505f5da65fc8269505621ff3284df2aa980edd.zip |
RPS tests: Get rid of warning (unused argument)
Diffstat (limited to 'src')
-rw-r--r-- | src/rps/test_service_rps_custommap.c | 5 | ||||
-rw-r--r-- | src/rps/test_service_rps_sampler_elem.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/rps/test_service_rps_custommap.c b/src/rps/test_service_rps_custommap.c index 8ce03070e..003523087 100644 --- a/src/rps/test_service_rps_custommap.c +++ b/src/rps/test_service_rps_custommap.c | |||
@@ -11,7 +11,7 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | */ | 17 | */ |
@@ -112,6 +112,9 @@ check () | |||
112 | int | 112 | int |
113 | main (int argc, char *argv[]) | 113 | main (int argc, char *argv[]) |
114 | { | 114 | { |
115 | (void) argc; | ||
116 | (void) argv; | ||
117 | |||
115 | GNUNET_log_setup ("test_service_rps_peers", | 118 | GNUNET_log_setup ("test_service_rps_peers", |
116 | "WARNING", | 119 | "WARNING", |
117 | NULL); | 120 | NULL); |
diff --git a/src/rps/test_service_rps_sampler_elem.c b/src/rps/test_service_rps_sampler_elem.c index 43efc8691..c68a3e384 100644 --- a/src/rps/test_service_rps_sampler_elem.c +++ b/src/rps/test_service_rps_sampler_elem.c | |||
@@ -11,7 +11,7 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | */ | 17 | */ |
@@ -194,6 +194,9 @@ check () | |||
194 | int | 194 | int |
195 | main (int argc, char *argv[]) | 195 | main (int argc, char *argv[]) |
196 | { | 196 | { |
197 | (void) argc; | ||
198 | (void) argv; | ||
199 | |||
197 | GNUNET_log_setup ("test_service_rps_peers", | 200 | GNUNET_log_setup ("test_service_rps_peers", |
198 | "WARNING", | 201 | "WARNING", |
199 | NULL); | 202 | NULL); |