1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:48:12 +00:00
serenity/Applications/FileManager
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
..
CMakeLists.txt FileManager: Move the main window UI to GML 2020-12-20 12:17:59 +01:00
DesktopWidget.cpp FileManager: Move the DesktopWidget to its own compilation unit 2020-09-17 14:34:47 +02:00
DesktopWidget.h FileManager: Move the DesktopWidget to its own compilation unit 2020-09-17 14:34:47 +02:00
DirectoryView.cpp FileManager: Fix assertion when drag&dropping a file to the desktop 2020-12-16 19:40:24 +01:00
DirectoryView.h FileManager: Fix TreeView collapsing on file system changes (#4348) 2020-12-08 17:51:53 +01:00
FileManagerWindow.gml LibGUI: Make GUI::Label auto-sizing declarative 2020-12-20 12:36:32 +01:00
FileUtils.cpp FileManager: Use new format functions. 2020-10-05 16:25:50 +02:00
FileUtils.h FileManager: Move delete and force-delete actions to DirectoryView 2020-09-13 21:41:45 +02:00
main.cpp Everywhere: Switch from (void) to [[maybe_unused]] (#4473) 2020-12-21 00:09:48 +01:00
PropertiesDialog.cpp FileManager: Make symlink icons show up nicely in properties dialog 2020-12-16 16:09:27 +01:00
PropertiesDialog.h FileManager: Use FileIconProvider in the properties dialog 2020-08-12 20:41:13 +02:00