Skip to content

Commit 21c5bd4

Browse files
committedOct 12, 2012
fix warnings
1 parent 160b58f commit 21c5bd4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed
 

‎src/core/raster/qgsrasterblock.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,26 +214,26 @@ class CORE_EXPORT QgsRasterBlock
214214
/** \brief Set color on position
215215
* @param row row index
216216
* @param column column index
217-
* @param index_or_rgb the color to be set, QRgb value
217+
* @param color the color to be set, QRgb value
218218
* @return true on success */
219219
bool setColor( int row, int column, QRgb color );
220220

221221
/** \brief Set color on index (indexed line by line)
222222
* @param index data matrix index
223-
* @param index_or_rgb the color to be set, QRgb value
223+
* @param color the color to be set, QRgb value
224224
* @return true on success */
225225
bool setColor( size_t index, QRgb color );
226226

227227
/** \brief Get pointer to data
228228
* @param row row index
229229
* @param column column index
230-
* @retun pointer to data
230+
* @return pointer to data
231231
*/
232232
char * bits( int row, int column );
233233

234234
/** \brief Get pointer to data
235235
* @param index data matrix index
236-
* @retun pointer to data
236+
* @return pointer to data
237237
*/
238238
char * bits( size_t index );
239239

‎src/core/raster/qgsrasteriterator.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,11 @@ class CORE_EXPORT QgsRasterIterator
5757
@param bandNumber band to read
5858
@param nCols number of columns on output device
5959
@param nRows number of rows on output device
60-
@param rasterData to return the pointer to raster data in
6160
@param topLeftCol top left column
6261
@param topLeftRow top left row
6362
@return false if the last part was already returned*/
6463
bool readNextRasterPart( int bandNumber,
6564
int& nCols, int& nRows,
66-
//void** rasterData,
6765
QgsRasterBlock **block,
6866
int& topLeftCol, int& topLeftRow );
6967

‎src/mapserver/qgssldparser.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ int QgsSLDParser::numberOfLayers() const
142142

143143
void QgsSLDParser::layersAndStylesCapabilities( QDomElement& parentElement, QDomDocument& doc, const QString& version, bool fullProjectSettings ) const
144144
{
145+
Q_UNUSED( version );
146+
Q_UNUSED( fullProjectSettings );
145147
//iterate over all <UserLayer> nodes
146148
if ( mXMLDoc )
147149
{

0 commit comments

Comments
 (0)
Please sign in to comment.