mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-18 15:55:12 +08:00
Fixed a minor static-analysis reported warning.
This commit is contained in:
parent
4201d10116
commit
cc260fc9aa
@ -123,7 +123,7 @@ static void
|
||||
rctrim(char* text)
|
||||
{
|
||||
char* p = text;
|
||||
size_t len = strlen(text);
|
||||
size_t len = 0;
|
||||
int i;
|
||||
/* locate first non-trimchar */
|
||||
for(;*p;p++) {
|
||||
|
Loading…
Reference in New Issue
Block a user