[MIPS] Compliment va_start() with va_end().
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
committed by
Ralf Baechle
parent
5b3af8f19f
commit
8142294dda
@@ -57,6 +57,7 @@ ieee754dp ieee754dp_xcpt(ieee754dp r, const char *op, ...)
|
||||
ax.rv.dp = r;
|
||||
va_start(ax.ap, op);
|
||||
ieee754_xcpt(&ax);
|
||||
va_end(ax.ap);
|
||||
return ax.rv.dp;
|
||||
}
|
||||
|
||||
@@ -83,6 +84,7 @@ ieee754dp ieee754dp_nanxcpt(ieee754dp r, const char *op, ...)
|
||||
ax.rv.dp = r;
|
||||
va_start(ax.ap, op);
|
||||
ieee754_xcpt(&ax);
|
||||
va_end(ax.ap);
|
||||
return ax.rv.dp;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user