forked from lda/telodendria
Remove debugging statements... whoops!
I'm usually pretty good about this.
This commit is contained in:
parent
973e826e57
commit
7f883fc92e
1 changed files with 0 additions and 8 deletions
8
src/Db.c
8
src/Db.c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue