1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:48:14 +00:00
serenity/Base/usr/share/man
Lenny Maiorani 765936ebae
Everywhere: Switch from (void) to [[maybe_unused]] (#4473)
Problem:
- `(void)` simply casts the expression to void. This is understood to
  indicate that it is ignored, but this is really a compiler trick to
  get the compiler to not generate a warning.

Solution:
- Use the `[[maybe_unused]]` attribute to indicate the value is unused.

Note:
- Functions taking a `(void)` argument list have also been changed to
  `()` because this is not needed and shows up in the same grep
  command.
2020-12-21 00:09:48 +01:00
..
man1 Userland: Add beep utility 2020-12-16 17:29:28 +01:00
man2 Everywhere: Switch from (void) to [[maybe_unused]] (#4473) 2020-12-21 00:09:48 +01:00
man3 LibC: stdlib: Add clearenv() function 2020-12-17 19:39:56 +01:00
man5 Shell: Document the new 'pattern as (list of names)' match syntax 2020-10-29 11:53:01 +01:00
man7 Shell+LibLine: Support HISTCONTROL environment variable 2020-10-26 11:27:54 +01:00
man8 Userland: chroot: Add --userspec/-u flag to set uid/gid for chroot 2020-11-14 17:14:30 +01:00