code_style: remove unused codes

This commit is contained in:
leo 2024-09-24 18:22:18 +08:00
parent d1d913aa45
commit 6b44fd4416
No known key found for this signature in database
2 changed files with 2 additions and 12 deletions

View file

@ -521,7 +521,7 @@ namespace SourceGit
return false;
var args = desktop.Args;
if (args.Length > 0)
if (args?.Length > 0)
{
desktop.MainWindow = new Views.Askpass(args[0]);
return true;