Skip to content

Commit

Permalink
Suppress mistaken LGTM warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisHeimbigner committed Nov 16, 2022
1 parent 591e6b2 commit d06901f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This file contains a high-level description of this package's evolution. Release

#### Changes

* [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/????).
* [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).
* [Bug Fix] Fix a race condition when testing missing filters. See [Github #2557](https://github.com/Unidata/netcdf-c/pull/2557).
* [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).
* [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).
Expand Down
2 changes: 1 addition & 1 deletion include/nctestserver.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ nc_findtestserver(const char* path, const char* serverlist)
if(reportsearch)
fprintf(stderr,"nc_findtestserver: candidate=%s/%s: found=",*svc,path);
/* Try http: first */
snprintf(url,MAXSERVERURL,"http://%s/%s",*svc,path);
snprintf(url,MAXSERVERURL,"http://%s/%s",*svc,path); /*lgtm [cpp/non-https-url]*/
if(ping(url) == NC_NOERR) {
if(reportsearch) fprintf(stderr,"yes\n");
match = strdup(url);
Expand Down
2 changes: 1 addition & 1 deletion ncdap_test/pingurl.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ main(int argc, char** argv)
usage();

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

0 comments on commit d06901f

Please sign in to comment.