Clang warning: 'n' was unused

This commit is contained in:
Andrew Johnson
2025-11-19 16:36:18 -06:00
committed by mdavidsaver
parent ccff26f659
commit 11c7bc11c4

View File

@@ -379,8 +379,8 @@ int main (int argc, char *argv[])
Putter thework;
// copy values from command line
for (int n = 0; optind < argc; n++, optind++)
thework.values.push_back(argv[optind]);
while (optind < argc)
thework.values.push_back(argv[optind++]);
pvd::PVStructure::shared_pointer pvRequest;
try {