Commit 75379294 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5368 fix self-assignment

git-svn-id: file:///svn/toku/tokudb@48355 c7de825b-a66e-492c-adef-691d508d4ae1
parent b7df599b
...@@ -29,7 +29,7 @@ static void do_remove(DB_ENV *env, const char *filename) { ...@@ -29,7 +29,7 @@ static void do_remove(DB_ENV *env, const char *filename) {
r = system(rmcmd); CKERR(r); r = system(rmcmd); CKERR(r);
toku_free(iname.data); toku_free(iname.data);
#else #else
env = env; (void) env;
char rmcmd[32 + strlen(ENVDIR) + strlen(filename)]; char rmcmd[32 + strlen(ENVDIR) + strlen(filename)];
sprintf(rmcmd, "rm %s/%s", ENVDIR, filename); sprintf(rmcmd, "rm %s/%s", ENVDIR, filename);
r = system(rmcmd); CKERR(r); r = system(rmcmd); CKERR(r);
......
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