mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-18 15:55:12 +08:00
merged 765
This commit is contained in:
commit
ce7041d9a6
@ -911,7 +911,8 @@ collectprefixparams(char* text, char** nextp)
|
||||
for(;;) {
|
||||
char* p; char* q;
|
||||
/* by construction, here we are at an LBRACKET: compress it out */
|
||||
for(p=sp,q=sp+1;(*p++=*q++););
|
||||
for(p=sp,q=sp+1;(*p++=*q++);)
|
||||
;
|
||||
/* locate the next RRACKET */
|
||||
ep = nclocate(sp,RBRACKETSTR);
|
||||
if(ep == NULL) break;/* we are done */
|
||||
|
Loading…
Reference in New Issue
Block a user