Commit 3157958f authored by Yoni Fogel's avatar Yoni Fogel

Removed 'unused' attribute from a parameter actually used.

git-svn-id: file:///svn/tokudb@1287 c7de825b-a66e-492c-adef-691d508d4ae1
parent 45552003
...@@ -59,7 +59,7 @@ static void do_error (DB_ENV *dbenv, const char *string) { ...@@ -59,7 +59,7 @@ static void do_error (DB_ENV *dbenv, const char *string) {
fprintf(dbenv->i->errfile, "%s\n", string); fprintf(dbenv->i->errfile, "%s\n", string);
} }
static void toku_db_env_err(const DB_ENV * env __attribute__ ((__unused__)), int error, const char *fmt, ...) { static void toku_db_env_err(const DB_ENV * env, int error, const char *fmt, ...) {
va_list ap; va_list ap;
va_start(ap, fmt); va_start(ap, fmt);
if (env->i->errpfx && env->i->errpfx[0] != '\0') fprintf(stderr, "%s: ", env->i->errpfx); if (env->i->errpfx && env->i->errpfx[0] != '\0') fprintf(stderr, "%s: ", env->i->errpfx);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment