Skip to content

Fix compiler warnings

[37/253] Compiling C object 'lib/76b5a35@@ephymisc@sha/ephy-permissions-manager.c.o'.
../lib/ephy-permissions-manager.c: In Funktion »permission_type_to_string«:
../lib/ephy-permissions-manager.c:172:1: Warnung: Kontrollfluss erreicht Ende von Nicht-void-Funktion [-Wreturn-type]
  172 | }
      | ^
[72/253] Compiling C object 'lib/sync/ce5d2e2@@ephysync@sha/ephy-sync-crypto.c.o'.
../lib/sync/ephy-sync-crypto.c: In Funktion »ephy_sync_crypto_rsa_key_pair_new«:
../lib/sync/ephy-sync-crypto.c:415:7: Warnung: Variable »success« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
  415 |   int success;
      |       ^~~~~~~
../lib/sync/ephy-sync-crypto.c: In Funktion »ephy_sync_crypto_create_assertion«:
../lib/sync/ephy-sync-crypto.c:869:7: Warnung: Variable »success« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
  869 |   int success;
      |       ^~~~~~~
[153/253] Compiling C object 'src/25a6634@@ephymain@sha/ephy-notebook.c.o'.
../src/ephy-notebook.c: In Funktion »ephy_settings_get_tabs_bar_position«:
../src/ephy-notebook.c:420:1: Warnung: Kontrollfluss erreicht Ende von Nicht-void-Funktion [-Wreturn-type]
  420 | }
      | ^
[233/253] Compiling C object 'src/25a6634@@ephymain@sha/window-commands.c.o'.
../src/window-commands.c: In Funktion »window_cmd_delete«:
../src/window-commands.c:1751:16: Warnung: Variable »embed« gesetzt, aber nicht verwendet [-Wunused-but-set-variable]
 1751 |     EphyEmbed *embed;
      |                ^~~~~
[253/253] Linking target tests/test-ephy-uri-helpers.
Edited by Jan-Michael Brummer

Merge request reports