summaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mysql.com>2008-08-29 21:50:04 +0200
committerSergei Golubchik <serg@mysql.com>2008-08-29 21:50:04 +0200
commit2b917502c1cd78699ee99b4cd6d388fcff29d76a (patch)
tree7da5e06cde36df4392bc8effd8b8bcda236ec8b0 /unittest
parent49aa944ffb06a3f0bb2b6fd9d5d6fd776686ce01 (diff)
downloadmariadb-git-2b917502c1cd78699ee99b4cd6d388fcff29d76a.tar.gz
added __attribute__((unused))
Diffstat (limited to 'unittest')
-rw-r--r--unittest/mysys/thr_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittest/mysys/thr_template.c b/unittest/mysys/thr_template.c
index 699c941499f..900abb2f736 100644
--- a/unittest/mysys/thr_template.c
+++ b/unittest/mysys/thr_template.c
@@ -51,7 +51,7 @@ void test_concurrently(const char *test, pthread_handler handler, int n, int m)
ok(!bad, "tested %s in %g secs (%d)", test, ((double)now)/1e7, bad);
}
-int main(int argc, char **argv)
+int main(int argc __attribute__((unused)), char **argv)
{
MY_INIT("thd_template");