Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Apr 12, 2017
1 parent 55580c1 commit 648b1eb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/cats/sql_get.c
Expand Up @@ -145,7 +145,7 @@ bool B_DB::get_file_record(JCR *jcr, JOB_DBR *jr, FILE_DBR *fdbr)
bstrncpy(fdbr->Digest, row[2], sizeof(fdbr->Digest));
retval = true;
if (num_rows > 1) {
Mmsg3(errmsg, _("get_file_record want 1 got rows=%d PathId=%s FilenameId=%s\n"),
Mmsg3(errmsg, _("get_file_record want 1 got rows=%d PathId=%s Filename=%s\n"),
num_rows,
edit_int64(fdbr->PathId, ed1),
esc_name);
Expand Down
4 changes: 0 additions & 4 deletions src/tests/bvfs_test.c
Expand Up @@ -83,10 +83,6 @@ static int result_handler(void *ctx, int fields, char **row)
if (bvfs_is_dir(row)) {
pm_strcpy(attr->ofname, bvfs_basename_dir(row[BVFS_Name]));
} else {
/* if we see the requested file, note his filenameid */
//if (bstrcmp(row[BVFS_Name], file)) {
// fnid = str_to_int64(row[BVFS_FilenameId]);
//}
pm_strcpy(attr->ofname, row[BVFS_Name]);
}
print_ls_output(vfs->get_jcr(), attr);
Expand Down

0 comments on commit 648b1eb

Please sign in to comment.