Remove debugging statements... whoops!

I'm usually pretty good about this.
This commit is contained in:
Jordan Bancino 2022-11-21 21:09:05 +00:00
parent 973e826e57
commit 7f883fc92e
1 changed files with 0 additions and 8 deletions

View File

@ -349,9 +349,6 @@ DbLockFromArr(Db * db, Array * args)
ref = HashMapGet(db->cache, hash);
file = DbFileName(db, args);
printf("Object hash: %s\n", hash);
printf("File name: %s\n", file);
/* Open the file for reading and writing so we can lock it */
fp = fopen(file, "r+");
if (!fp)
@ -542,11 +539,8 @@ DbLock(Db * db, size_t nArgs,...)
args = ArrayFromVarArgs(nArgs, ap);
va_end(ap);
printf("Enter DbLock()\n");
if (!args)
{
printf("Failed to parse varargs\n");
return NULL;
}
@ -554,8 +548,6 @@ DbLock(Db * db, size_t nArgs,...)
ArrayFree(args);
printf("Exit DbLock()\n");
return ret;
}