[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 126/222: checksrc: fix uninitialized variable warning
From: |
gnunet |
Subject: |
[gnurl] 126/222: checksrc: fix uninitialized variable warning |
Date: |
Thu, 07 Nov 2019 00:10:22 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit ac830139dadf4abd48232e3eb5ce0c8d06d19dcf
Author: Marcel Raad <address@hidden>
AuthorDate: Tue Oct 1 00:32:26 2019 +0200
checksrc: fix uninitialized variable warning
The loop doesn't need to be executed without a file argument.
Closes https://github.com/curl/curl/pull/4444
---
lib/checksrc.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/checksrc.pl b/lib/checksrc.pl
index 965f0bab1..b2cfa8355 100755
--- a/lib/checksrc.pl
+++ b/lib/checksrc.pl
@@ -176,7 +176,7 @@ sub checkwarn {
$file = shift @ARGV;
-while(1) {
+while(defined $file) {
if($file =~ /-D(.*)/) {
$dir = $1;
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [gnurl] 107/222: tests: fix narrowing conversion warnings, (continued)
- [gnurl] 107/222: tests: fix narrowing conversion warnings, gnunet, 2019/11/06
- [gnurl] 116/222: BINDINGS: Kapito is an Erlang library, basically a binding, gnunet, 2019/11/06
- [gnurl] 111/222: RELEASE-NOTES: synced, gnunet, 2019/11/06
- [gnurl] 112/222: setopt: handle ALTSVC set to NULL, gnunet, 2019/11/06
- [gnurl] 118/222: quiche: update HTTP/3 config creation to new API, gnunet, 2019/11/06
- [gnurl] 115/222: BINDINGS: added clj-curl, gnunet, 2019/11/06
- [gnurl] 119/222: mailmap: a Lucas fix, gnunet, 2019/11/06
- [gnurl] 120/222: altsvc: accept quoted ma and persist values, gnunet, 2019/11/06
- [gnurl] 124/222: lib: silence conversion warnings, gnunet, 2019/11/06
- [gnurl] 113/222: cookies: using a share with cookies shouldn't enable the cookie engine, gnunet, 2019/11/06
- [gnurl] 126/222: checksrc: fix uninitialized variable warning,
gnunet <=
- [gnurl] 117/222: BINDINGS: PureBasic, Net::Curl for perl and Nim, gnunet, 2019/11/06
- [gnurl] 133/222: RELEASE-NOTES: synced, gnunet, 2019/11/06
- [gnurl] 134/222: ESNI: initial build/setup, gnunet, 2019/11/06
- [gnurl] 135/222: CURLMOPT_MAX_CONCURRENT_STREAMS.3: fix SEE ALSO typo, gnunet, 2019/11/06
- [gnurl] 141/222: ngtcp2: adapt to API change, gnunet, 2019/11/06
- [gnurl] 140/222: cookies: change argument type for Curl_flush_cookies, gnunet, 2019/11/06
- [gnurl] 142/222: winbuild: add ENABLE_UNICODE option, gnunet, 2019/11/06
- [gnurl] 145/222: build: Remove unused HAVE_LIBSSL and HAVE_LIBCRYPTO defines, gnunet, 2019/11/06
- [gnurl] 151/222: cirrus: Switch the FreeBSD 11.x build to 11.3 and add a 13.0 build., gnunet, 2019/11/06
- [gnurl] 148/222: CURLOPT_TIMEOUT.3: remove the mention of "minutes", gnunet, 2019/11/06