aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Riehs <tristan.riehs@inria.fr>2025-12-25 18:02:26 +0100
committerTristan Riehs <tristan.riehs@inria.fr>2025-12-25 18:06:05 +0100
commitd105c5d37cbbac8779df0a16d1d8597515cab048 (patch)
tree23badd09ebef1f47c150da6b1908db96e8bfe033 /src
parent7c0bdcb1378b411f27cb4fcb3473fcf14624aa71 (diff)
Remove duplicate message
Diffstat (limited to 'src')
-rw-r--r--src/main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 52cbcb1..9fe028f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -265,7 +265,7 @@ static void ftag_add_one_file(sqlite3 *db, int *next_id, const char *file)
}
printf("ftag file add: adding file \"%s\" to database\n", file);
-
+
printf("Enter the full name, a version of the name that\n"
"may contain blanks and every type of character.\n");
read_len = getline(&full_name, &line_len, stdin);
@@ -429,9 +429,6 @@ static void ftag_file_add(int argc, char **argv)
if (!prompt_yes_no())
continue; /* do not add this file */
}
- else {
- printf("ftag file add: adding file \"%s\" to database\n", file);
- }
struct stat st;
rc = stat(argv[i], &st);
assert(rc == 0);