Remove a debug message
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
baeb4572ff
commit
e29d9510ed
|
@ -53,12 +53,9 @@ open_config_file(char *cpath, char **ppath) {
|
|||
for (size_t i = 0; i < ARR_SIZE(config_paths); i++) {
|
||||
char *path = xdgConfigFind(config_paths[i], NULL);
|
||||
FILE *ret = fopen(path, "r");
|
||||
if (ret) {
|
||||
printf_errf("(): file is %s", path);
|
||||
if (ppath) {
|
||||
if (ret && ppath) {
|
||||
*ppath = strdup(path);
|
||||
}
|
||||
}
|
||||
free(path);
|
||||
if (ret) {
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue