Bläddra i källkod

Clean up unused parameter names

Neal Wilson 10 år sedan
förälder
incheckning
701be16fce
1 ändrade filer med 8 tillägg och 6 borttagningar
  1. 8
    6
      src/typica.w

+ 8
- 6
src/typica.w Visa fil

@@ -2085,7 +2085,7 @@ engine->globalObject().setProperty("QProcess", value);
2085 2085
 @ The constructor is trivial.
2086 2086
 
2087 2087
 @<Functions for scripting@>=
2088
-QScriptValue constructQProcess(QScriptContext *context, QScriptEngine *engine)
2088
+QScriptValue constructQProcess(QScriptContext *, QScriptEngine *engine)
2089 2089
 {
2090 2090
 	QScriptValue object = engine->newQObject(new QProcess);
2091 2091
 	setQProcessProperties(object, engine);
@@ -2110,7 +2110,7 @@ We always call the one with arguments and simply pass in an empty list if no
2110 2110
 arguments are specified.
2111 2111
 
2112 2112
 @<Functions for scripting@>=
2113
-QScriptValue QProcess_execute(QScriptContext *context, QScriptEngine *engine)
2113
+QScriptValue QProcess_execute(QScriptContext *context, QScriptEngine *)
2114 2114
 {
2115 2115
 	QProcess *self = getself<QProcess *>(context);
2116 2116
 	QString program = argument<QString>(0, context);
@@ -2125,7 +2125,7 @@ QScriptValue QProcess_execute(QScriptContext *context, QScriptEngine *engine)
2125 2125
 @ Similarly |startDetached()| can be called in a few different ways.
2126 2126
 
2127 2127
 @<Functions for scripting@>=
2128
-QScriptValue QProcess_startDetached(QScriptContext *context, QScriptEngine *engine)
2128
+QScriptValue QProcess_startDetached(QScriptContext *context, QScriptEngine *)
2129 2129
 {
2130 2130
 	QProcess *self = getself<QProcess *>(context);
2131 2131
 	QString program = argument<QString>(0, context);
@@ -2158,7 +2158,7 @@ QScriptValue QProcess_startDetached(QScriptContext *context, QScriptEngine *engi
2158 2158
 @ Sometimes we care about the working directory for our program.
2159 2159
 
2160 2160
 @<Functions for scripting@>=
2161
-QScriptValue QProcess_setWorkingDirectory(QScriptContext *context, QScriptEngine *engine)
2161
+QScriptValue QProcess_setWorkingDirectory(QScriptContext *context, QScriptEngine *)
2162 2162
 {
2163 2163
 	QProcess *self = getself<QProcess *>(context);
2164 2164
 	QString directory = argument<QString>(0, context);
@@ -2170,7 +2170,7 @@ QScriptValue QProcess_setWorkingDirectory(QScriptContext *context, QScriptEngine
2170 2170
 access.
2171 2171
 
2172 2172
 @<Functions for scripting@>=
2173
-QScriptValue QProcess_start(QScriptContext *context, QScriptEngine *engine)
2173
+QScriptValue QProcess_start(QScriptContext *context, QScriptEngine *)
2174 2174
 {
2175 2175
 	QProcess *self = getself<QProcess *>(context);
2176 2176
 	QString program = argument<QString>(0, context);
@@ -3704,7 +3704,7 @@ QScriptValue dir(QScriptContext *context, QScriptEngine *engine)
3704 3704
 the database out to the file system.
3705 3705
 
3706 3706
 @<Functions for scripting@>=
3707
-QScriptValue saveFileFromDatabase(QScriptContext *context, QScriptEngine *engine)
3707
+QScriptValue saveFileFromDatabase(QScriptContext *context, QScriptEngine *)
3708 3708
 {
3709 3709
 	SqlQueryConnection h;
3710 3710
 	QSqlQuery *query = h.operator->();
@@ -4262,6 +4262,8 @@ while(j < menuItems.count())
4262 4262
 
4263 4263
 @i helpmenu.w
4264 4264
 
4265
+@i feedback.w
4266
+
4265 4267
 @ A layout can contain a number of different elements including a variety of
4266 4268
 widget types and other layouts. This function is responsible for applying any
4267 4269
 layout class to the widget currently being populated and processing children of

Laddar…
Avbryt
Spara