From d085271de4598a80860e0cec35c6a0665e9e6958 Mon Sep 17 00:00:00 2001 From: kevin Date: Thu, 21 Mar 2013 11:03:21 -0700 Subject: [PATCH] cmSymTbl.c: Fixed cmSymTblRegisterFmt() to return new symbol id. --- cmSymTbl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmSymTbl.c b/cmSymTbl.c index 6d74b84..cf255ef 100644 --- a/cmSymTbl.c +++ b/cmSymTbl.c @@ -274,8 +274,9 @@ unsigned cmSymTblRegisterFmt( cmSymTblH_t h, const cmChar_t* fmt, ... ) { va_list vl; va_start(vl,fmt); - cmSymTblRegisterVFmt(h,fmt,vl); + unsigned id = cmSymTblRegisterVFmt(h,fmt,vl); va_end(vl); + return id; }