mirror of
https://github.com/javalsai/lidm.git
synced 2025-09-03 11:48:00 +02:00
lint: fix code for clang-tidy
This commit is contained in:
@@ -30,7 +30,7 @@ int main(int argc, char* argv[]) {
|
||||
// Chvt
|
||||
if (argc == 2) chvt_str(argv[1]);
|
||||
|
||||
struct config config = default_config;
|
||||
struct config config = DEFAULT_CONFIG;
|
||||
char* conf_override = getenv("LIDM_CONF");
|
||||
char* conf_path = conf_override ? conf_override : "/etc/lidm.ini";
|
||||
if (parse_config(&config, conf_path) != 0) {
|
||||
|
Reference in New Issue
Block a user