From e8a40526cb3be82c5019f0ee3f592a08b3387fa9 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 4 May 2011 15:48:47 -0500 Subject: Fix warnings reported by -Wwrite-strings These are places where we stuck a string constant in a variable not marked as const. Signed-off-by: Dan McGee --- src/util/testdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util/testdb.c') diff --git a/src/util/testdb.c b/src/util/testdb.c index b29e49f4..d8a2fb4d 100644 --- a/src/util/testdb.c +++ b/src/util/testdb.c @@ -184,7 +184,7 @@ static void usage(void) { int main(int argc, char *argv[]) { int ret = 0; - char *dbpath = DBPATH; + const char *dbpath = DBPATH; int a = 1; alpm_list_t *dbnames = NULL; -- cgit v1.2.3-24-g4f1b