diff options
| author | stderr64 <stderr64@null.net> | 2026-06-11 15:52:28 +0300 |
|---|---|---|
| committer | stderr64 <stderr64@null.net> | 2026-06-11 15:52:28 +0300 |
| commit | e3f4c754edc461a04a679d0d52dedc2be718ad06 (patch) | |
| tree | efee0050f7ff5a6eaae0c405562cf0e918f071ca | |
| parent | 0e75d8366bbd6b287a6804758177fc47fc89062d (diff) | |
| download | dwmtimestatus-master.tar.gz dwmtimestatus-master.tar.zst | |
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | dwmtimestatus.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1 +1,2 @@ +dwmtimestatus *.swp diff --git a/dwmtimestatus.c b/dwmtimestatus.c index 3408e8c..3bf0fda 100644 --- a/dwmtimestatus.c +++ b/dwmtimestatus.c @@ -102,7 +102,7 @@ int main( int argc, char **args ){ assert( sigaction(SIGINT, (const struct sigaction*)s_act, NULL) != -1 ); assert( sigaction(SIGTERM, (const struct sigaction*)s_act, NULL) != -1 ); assert( sigaction(SIGPIPE, (const struct sigaction*)s_act, NULL) != -1 ); - struct status current_status = {0}; + struct status current_status; memset( (void*)¤t_status, 0, sizeof(struct status) ); const char *optstring = "i:d:f:"; int opt_char = 0; |
