Skip to content

Commit d06901f

Browse files
Suppress mistaken LGTM warnings
1 parent 591e6b2 commit d06901f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This file contains a high-level description of this package's evolution. Release
1616

1717
#### Changes
1818

19-
* [Bug Fix] Get remotetest server working for DAP4 and re-enable its use in the netcdf-c library for testing. See [Github #????](https://github.com/Unidata/netcdf-c/pull/????).
19+
* [Bug Fix] Get remotetest server working for DAP4 and re-enable its use in the netcdf-c library for testing. See [Github #2558](https://github.com/Unidata/netcdf-c/pull/2558).
2020
* [Bug Fix] Fix a race condition when testing missing filters. See [Github #2557](https://github.com/Unidata/netcdf-c/pull/2557).
2121
* [Bug Fix] Make major changes to libdap4 and dap4_test to update the non-remote DAP4 tests. See [Github #2555](https://github.com/Unidata/netcdf-c/pull/2555).
2222
* [Bug Fix] Fix some race conditions due to use of a common file in multiple shell scripts . See [Github #2552](https://github.com/Unidata/netcdf-c/pull/2552).

include/nctestserver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ nc_findtestserver(const char* path, const char* serverlist)
102102
if(reportsearch)
103103
fprintf(stderr,"nc_findtestserver: candidate=%s/%s: found=",*svc,path);
104104
/* Try http: first */
105-
snprintf(url,MAXSERVERURL,"http://%s/%s",*svc,path);
105+
snprintf(url,MAXSERVERURL,"http://%s/%s",*svc,path); /*lgtm [cpp/non-https-url]*/
106106
if(ping(url) == NC_NOERR) {
107107
if(reportsearch) fprintf(stderr,"yes\n");
108108
match = strdup(url);

ncdap_test/pingurl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ main(int argc, char** argv)
4141
usage();
4242

4343
/* Try http: first */
44-
snprintf(url,MAXSERVERURL,"http://%s",argv[0]);
44+
snprintf(url,MAXSERVERURL,"http://%s",argv[0]); /* lgtm [cpp/non-https-url] */
4545
if(timedping(url,PINGTIME) == NC_NOERR)
4646
found = 1;
4747
else {

0 commit comments

Comments
 (0)