Skip to content

Commit

Permalink
No need for null check with default value
Browse files Browse the repository at this point in the history
  • Loading branch information
phpony authored Jan 24, 2024
1 parent 1a3a287 commit 9bb6e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gocrypt.vala
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace Cryptor {
if (reverse) {
cmd += "-reverse ";
}
if (custom_options != null && custom_options != "") {
if (custom_options != "") {
cmd += custom_options + " ";
}
cmd += " -passfile " + pfile.get_path () + " -- " + path + " " + mountpoint;
Expand Down

0 comments on commit 9bb6e89

Please sign in to comment.