Skip to content

Commit d7f2992

Browse files
committed
[roottest] fix warning
1 parent 6f24b39 commit d7f2992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roottest/cling/function/Params.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Base {
99
virtual ~Base(){};
1010
virtual void FunctionX(int b=0, int c=5) {printf("%s: Base::FunctionX(int b=%d, int c=%d)\n", fMode, b, c);}
1111

12-
void CINTCannotHandleDefaultArgThatsNotYetParsed(int a = GetCountingCalls()) {};
12+
void CINTCannotHandleDefaultArgThatsNotYetParsed(int a = GetCountingCalls()) {(void)a; };
1313
static int GetCountingCalls() {return ++fgCountingCalls;}
1414
virtual void FunctionY(int arg0 = ++gCountingCalls, float arg1 = Base::GetCountingCalls() ) {
1515
printf("%s: Base::FunctionY(int arg0=%d, float arg1=%d.)\n", fMode, arg0, (int)arg1);}

0 commit comments

Comments
 (0)