[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

父節點
5b3af8f19f
當前提交
8142294dda
@@ -58,6 +58,7 @@ ieee754sp ieee754sp_xcpt(ieee754sp r, const char *op, ...)
|
||||
ax.rv.sp = r;
|
||||
va_start(ax.ap, op);
|
||||
ieee754_xcpt(&ax);
|
||||
va_end(ax.ap);
|
||||
return ax.rv.sp;
|
||||
}
|
||||
|
||||
@@ -84,6 +85,7 @@ ieee754sp ieee754sp_nanxcpt(ieee754sp r, const char *op, ...)
|
||||
ax.rv.sp = r;
|
||||
va_start(ax.ap, op);
|
||||
ieee754_xcpt(&ax);
|
||||
va_end(ax.ap);
|
||||
return ax.rv.sp;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user