aboutsummaryrefslogtreecommitdiff
path: root/src/config_global.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-12-29 01:35:09 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-12-29 01:35:09 -0500
commit4595ada2f69b42670c85a63c7d2344af63f2afe7 (patch)
tree0d528d8177aceefcf74fb7306fc0fc7cc3c41ece /src/config_global.c
parent8ae4f8f5985445b1ce3547975f407847c0fee0f7 (diff)
downloadspmc-4595ada2f69b42670c85a63c7d2344af63f2afe7.tar.gz
Minor fixes:
* size_t in place of int * Moved some variables closer to their execution scope * Add some error checks
Diffstat (limited to 'src/config_global.c')
-rw-r--r--src/config_global.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/config_global.c b/src/config_global.c
index 0dfa6db..4305942 100644
--- a/src/config_global.c
+++ b/src/config_global.c
@@ -98,7 +98,6 @@ char *get_package_manifest(void) {
char *ucd = get_user_conf_dir();
sprintf(template, "%s%c%s", ucd, DIRSEP, "manifest.dat");
- char *wtf = template;
if (access(template, F_OK) != 0) {
fprintf(stderr, "Package manifest not found: %s\n", template);