]> Kevux Git Server - fll/commit
Cleanup: Stale code, improve usage, replace macros.
authorKevin Day <thekevinday@gmail.com>
Fri, 20 May 2022 04:50:36 +0000 (23:50 -0500)
committerKevin Day <thekevinday@gmail.com>
Fri, 20 May 2022 04:50:36 +0000 (23:50 -0500)
commit4d2639b4283af4f02ee93b7ac240d1a7e25cf86e
treef0075fa0fcbcceb40ad40bf6d391036d66f8635d
parent506c0a6f9e870e5c07ceae005a5d796b776fff95
Cleanup: Stale code, improve usage, replace macros.

The primary focus of this commit is to remove stale code exposed by compilers.
This pass I used clang with -Wall.

Fixed some usage cases where the variables can be replaced with other variables.

I happened to notice some macros didn't need to exist and added the appropriate methods.
I did not search for other cases like this.
I only fixed what happened to be in front of me at the time.
19 files changed:
level_3/byte_dump/c/private-byte_dump.c
level_3/control/c/private-control.c
level_3/control/c/private-control.h
level_3/controller/c/entry/private-entry.c
level_3/controller/c/rule/private-rule.c
level_3/fake/c/private-build-objects.c
level_3/fss_basic_list_write/c/fss_basic_list_write.c
level_3/fss_basic_list_write/c/private-write.c
level_3/fss_basic_write/c/private-write.c
level_3/fss_embedded_list_read/c/fss_embedded_list_read.c
level_3/fss_embedded_list_read/c/private-common.c
level_3/fss_embedded_list_read/c/private-common.h
level_3/fss_embedded_list_read/c/private-read.c
level_3/fss_embedded_list_write/c/private-write.c
level_3/fss_extended_list_write/c/private-write.c
level_3/fss_extended_write/c/private-write.c
level_3/fss_payload_read/c/fss_payload_read.c
level_3/fss_payload_write/c/private-write.c
level_3/iki_read/c/private-read.c