diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-02-19 17:57:48 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-02-20 18:02:37 -0300 |
commit | ab1f8af8d0ac1ff8466d8758dc11d06dbfe8df25 (patch) | |
tree | 7ff503cf1ad951be3c2dc88caea1f4e1d6c70699 /src/fsec-optimize | |
parent | *.sh: use consistent indentation (diff) | |
download | firejail-ab1f8af8d0ac1ff8466d8758dc11d06dbfe8df25.tar.gz firejail-ab1f8af8d0ac1ff8466d8758dc11d06dbfe8df25.tar.zst firejail-ab1f8af8d0ac1ff8466d8758dc11d06dbfe8df25.zip |
Fix inconsistent leading spaces
Changes:
* Fix spaces being used for indentation in some lines in C
* Remove leading spaces before some goto labels
* Remove leading spaces before the start of some multiline comments
* Change leading spaces to tabs in some multiline macros
* Add missing asterisk to some multiline comments (to match other
multiline comments and because they are false positives in the
commands below)
Note: Leading spaces can be used for alignment (such as in function
parameters and function arguments in C) and for line continuation (such
as in long commands in shell scripts). However, in the above changes
the leading spaces are used for other reasons and do not seem to fit
with the style used.
Commands used to search for errors:
$ git grep -In '^ [^*]' | grep -E -v \
-e '(COPYING|README|RELNOTES|configure(.ac)?):' \
-e '^[^:]+.(md|yml|py):' -e '(bash|zsh)_completion/' \
-e '^contrib/syntax/' -e '^etc/templates/.*\.txt:' -e '^m4/' \
-e '^platform/debian/' -e '^src/man/.*\.txt:' \
-e '.*mkrpm.sh:' -e '.*extract_errnos.sh:'
Diffstat (limited to 'src/fsec-optimize')
-rw-r--r-- | src/fsec-optimize/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fsec-optimize/main.c b/src/fsec-optimize/main.c index 0a9b7c9b9..0bc521c0d 100644 --- a/src/fsec-optimize/main.c +++ b/src/fsec-optimize/main.c | |||
@@ -33,7 +33,7 @@ int main(int argc, char **argv) { | |||
33 | //system("cat /proc/self/status"); | 33 | //system("cat /proc/self/status"); |
34 | int i; | 34 | int i; |
35 | for (i = 0; i < argc; i++) | 35 | for (i = 0; i < argc; i++) |
36 | printf("*%s* ", argv[i]); | 36 | printf("*%s* ", argv[i]); |
37 | printf("\n"); | 37 | printf("\n"); |
38 | } | 38 | } |
39 | #endif | 39 | #endif |