Browse Source

Remove compiler warning.

Neal Wilson 11 years ago
parent
commit
ff2c350942
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      src/typica.cpp
  2. 1
    1
      src/typica.w

+ 1
- 1
src/typica.cpp View File

12453
 /*:113*//*114:*/
12453
 /*:113*//*114:*/
12454
 #line 2797 "./typica.w"
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
 QTime self= getself<QTime> (context);
12458
 QTime self= getself<QTime> (context);
12459
 int retval= (self.hour()*60*60*1000)+(self.minute()*60*1000)+
12459
 int retval= (self.hour()*60*60*1000)+(self.minute()*60*1000)+

+ 1
- 1
src/typica.w View File

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

Loading…
Cancel
Save