Skip to content

Commit 0d820ab

Browse files
authored
Merge pull request ben-strasser#54 from datosh/master
Fix unused variable compiler warning
2 parents f369be5 + fba6fb5 commit 0d820ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

csv.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,6 +1074,9 @@ namespace io{
10741074

10751075
template<class overflow_policy, class T>
10761076
void parse(char*col, T&x){
1077+
// Mute unused variable compiler warning
1078+
(void)col;
1079+
(void)x;
10771080
// GCC evalutes "false" when reading the template and
10781081
// "sizeof(T)!=sizeof(T)" only when instantiating it. This is why
10791082
// this strange construct is used.

0 commit comments

Comments
 (0)