浏览代码

Remove compiler warning.

Neal Wilson 12 年前
父节点
当前提交
ff2c350942
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      src/typica.cpp
  2. 1
    1
      src/typica.w

+ 1
- 1
src/typica.cpp 查看文件

@@ -12453,7 +12453,7 @@ value.setProperty("valueOf",engine->newFunction(QTime_valueOf));
12453 12453
 /*:113*//*114:*/
12454 12454
 #line 2797 "./typica.w"
12455 12455
 
12456
-QScriptValue QTime_valueOf(QScriptContext*context,QScriptEngine*engine)
12456
+QScriptValue QTime_valueOf(QScriptContext*context,QScriptEngine*)
12457 12457
 {
12458 12458
 QTime self= getself<QTime> (context);
12459 12459
 int retval= (self.hour()*60*60*1000)+(self.minute()*60*1000)+

+ 1
- 1
src/typica.w 查看文件

@@ -2795,7 +2795,7 @@ expected results from {\tt t1 == t2}, {\tt t1 < t2}, {\tt t1 > t2} and
2795 2795
 similar comparative operations.
2796 2796
 
2797 2797
 @<Functions for scripting@>=
2798
-QScriptValue QTime_valueOf(QScriptContext *context, QScriptEngine *engine)
2798
+QScriptValue QTime_valueOf(QScriptContext *context, QScriptEngine *)
2799 2799
 {
2800 2800
 	QTime self = getself<QTime>(context);
2801 2801
 	int retval = (self.hour() * 60 * 60 * 1000) + (self.minute() * 60 * 1000) +

正在加载...
取消
保存