Make gcc happy

This commit is contained in:
Yuxuan Shui
2018-08-22 15:26:08 +01:00
parent c37c6c41ed
commit 0d6b1627f2
4 changed files with 17 additions and 17 deletions

View File

@ -41,10 +41,10 @@ lcfg_lookup_int(const config_t *config, const char *path, int *value) {
*/
FILE *
open_config_file(char *cpath, char **ppath) {
const static char *config_filename = "/compton.conf";
const static char *config_filename_legacy = "/.compton.conf";
const static char *config_home_suffix = "/.config";
const static char *config_system_dir = "/etc/xdg";
static const char *config_filename = "/compton.conf";
static const char *config_filename_legacy = "/.compton.conf";
static const char *config_home_suffix = "/.config";
static const char *config_system_dir = "/etc/xdg";
char *dir = NULL, *home = NULL;
char *path = cpath;