mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
const correctness
silence some qual-cast warnings by sprinkling more consts throughout, e.g. casting a const void* to a const struct foo * const *
This commit is contained in:
+1
-1
@@ -296,7 +296,7 @@ tr_main (int argc,
|
||||
|
||||
tr_logSetLevel (TR_LOG_ERROR);
|
||||
|
||||
if (parseCommandLine (argc, (const char**)argv))
|
||||
if (parseCommandLine (argc, (const char* const *)argv))
|
||||
return EXIT_FAILURE;
|
||||
|
||||
if (showVersion)
|
||||
|
||||
Reference in New Issue
Block a user