summaryrefslogtreecommitdiffstats
path: root/src/file_sig.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-06-01 18:06:35 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-06-01 18:06:35 +0200
commit65dbe3d4baf4d486bb8119ec197a20697ba4ca28 (patch)
tree1ed5c06affe799b8c4d8efd188a5b4197c6b9dcf /src/file_sig.c
parent8ab840414394e1e8454413485c578d75fd8ab68f (diff)
constify more variables
Diffstat (limited to 'src/file_sig.c')
-rw-r--r--src/file_sig.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/file_sig.c b/src/file_sig.c
index 6edd757..0a87831 100644
--- a/src/file_sig.c
+++ b/src/file_sig.c
@@ -124,8 +124,7 @@ static FILE *open_signature_file(void)
#endif
#ifndef DJGPP
{
- char *home;
- home = getenv("HOME");
+ const char *home = getenv("HOME");
if (home != NULL)
{
FILE*handle;