aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-09-02 22:28:49 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-09-02 22:28:49 +0000
commitc2d49a602b1218cd0e41ae2637ffadddfced0ecb (patch)
tree81be80945bf1e48c35178b2d0e58679ceba9e231
parent4acac11df5f289b7a835d2cfb0ebc9352766a0ea (diff)
downloadpaludis-c2d49a602b1218cd0e41ae2637ffadddfced0ecb.tar.gz
paludis-c2d49a602b1218cd0e41ae2637ffadddfced0ecb.tar.xz
Silence compiler warnings
-rw-r--r--python/additional_tests.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/python/additional_tests.cc b/python/additional_tests.cc
index 724178c..7f3b96c 100644
--- a/python/additional_tests.cc
+++ b/python/additional_tests.cc
@@ -42,21 +42,21 @@ namespace environment
e.package_database()->add_repository(0, repo);
UseFlagName u("use");
- e.query_use(u, *pid);
+ bool PALUDIS_ATTRIBUTE((unused)) b1(e.query_use(u, *pid));
e.known_use_expand_names(u, *pid);
- e.accept_license("l", *pid);
+ bool PALUDIS_ATTRIBUTE((unused)) b2(e.accept_license("l", *pid));
tr1::shared_ptr<KeywordNameSet> kns(new KeywordNameSet);
kns->insert(KeywordName("keyword"));
- e.accept_keywords(kns, *pid);
+ bool PALUDIS_ATTRIBUTE((unused)) b3(e.accept_keywords(kns, *pid));
e.mask_for_breakage(*pid);
e.mask_for_user(*pid);
- e.unmasked_by_user(*pid);
+ bool PALUDIS_ATTRIBUTE((unused)) b4(e.unmasked_by_user(*pid));
e.package_database();
@@ -153,7 +153,7 @@ namespace metadata_key
void test_metadata_time_key(MetadataTimeKey & m)
{
test_metadata_key(m);
- m.value();
+ time_t PALUDIS_ATTRIBUTE((unused)) t(m.value());
}
void test_metadata_contents_key(MetadataContentsKey & m)