]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
aft.c: Remove unused enum touch_flags.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 4 May 2025 21:19:26 +0000 (23:19 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Tue, 6 May 2025 09:52:35 +0000 (11:52 +0200)
This enum became unused ten years ago when the touch command learned to use
the lopsub library.

Fixes: fdf416e9af730a1df9eec8d7acb108d7ca881926
aft.c

diff --git a/aft.c b/aft.c
index 3e786a000bf31c4b6055438b1b22e3d18ebfc81e..01cbb96d63ba13a796cba553e1e4fccd2ea4e939 100644 (file)
--- a/aft.c
+++ b/aft.c
@@ -2032,14 +2032,6 @@ out:
 }
 EXPORT_SERVER_CMD_HANDLER(add);
 
-/** Flags used by the touch command. */
-enum touch_flags {
-       /** Whether the \p FNM_PATHNAME flag should be passed to fnmatch(). */
-       TOUCH_FLAG_FNM_PATHNAME = 1,
-       /** Activates verbose mode. */
-       TOUCH_FLAG_VERBOSE = 2
-};
-
 static int touch_audio_file(__a_unused struct osl_table *table,
                struct osl_row *row, const char *name, void *data)
 {