]> git.ipfire.org Git - thirdparty/git.git/blobdiff - sha1_file.c
Make some strings const
[thirdparty/git.git] / sha1_file.c
index c80528b506e98c1e1dae463fa08159677a2a9473..817963045b81cef36bf3a9c76b7399a70226a181 100644 (file)
@@ -343,7 +343,7 @@ static void read_info_alternates(const char * relative_base, int depth)
 
 void prepare_alt_odb(void)
 {
-       char *alt;
+       const char *alt;
 
        alt = getenv(ALTERNATE_DB_ENVIRONMENT);
        if (!alt) alt = "";