From 6a257202a1593cf8f5dabc8704cd49112190962b Mon Sep 17 00:00:00 2001 From: Vladimir Panteleev Date: Tue, 4 Oct 2016 21:27:03 +0000 Subject: [PATCH] Fix Issue 16593 - Building "tools" produces deprecation warnings --- dget.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dget.d b/dget.d index 591b3efce0..957ce21eab 100644 --- a/dget.d +++ b/dget.d @@ -15,7 +15,7 @@ void usage() int main(string[] args) { - if (args.length == 1) return usage(), 1; + if (args.length == 1) { usage(); return 1; } import std.getopt; bool clone, help; @@ -23,7 +23,7 @@ int main(string[] args) "clone|c", &clone, "help|h", &help); - if (help) return usage(), 0; + if (help) { usage(); return 0; } import std.typetuple; string user, repo;