File tree 3 files changed +8
-1
lines changed
3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 25
25
#ifdef _MSC_VER
26
26
#include < locale>
27
27
#include < limits>
28
- #endif // _MSC_VER
28
+ typedef unsigned __int8 uint8_t ;
29
+ #else
29
30
#include < stdint.h>
31
+ #endif // _MSC_VER
30
32
#include < assert.h>
31
33
#include < iostream>
32
34
#include < iomanip>
Original file line number Diff line number Diff line change @@ -113,10 +113,12 @@ bool QgsSpatialIndex::insertFeature( QgsFeature& f )
113
113
}
114
114
catch ( Tools::Exception &e )
115
115
{
116
+ Q_UNUSED (e);
116
117
QgsDebugMsg ( QString ( " Tools::Exception caught: " ).arg ( e.what ().c_str () ) );
117
118
}
118
119
catch ( const std::exception &e )
119
120
{
121
+ Q_UNUSED (e);
120
122
QgsDebugMsg ( QString ( " std::exception caught: " ).arg ( e.what () ) );
121
123
}
122
124
catch ( ... )
Original file line number Diff line number Diff line change @@ -1177,6 +1177,7 @@ long SpatialIndex::RTree::RTree::writeNode( Node* n )
1177
1177
}
1178
1178
catch ( Tools::InvalidPageException& e )
1179
1179
{
1180
+ Q_UNUSED (e);
1180
1181
delete[] buffer;
1181
1182
QgsDebugMsg ( e.what ().c_str () );
1182
1183
throw Tools::IllegalStateException ( " writeNode: failed with Tools::InvalidPageException" );
@@ -1222,6 +1223,7 @@ SpatialIndex::RTree::NodePtr SpatialIndex::RTree::RTree::readNode( unsigned long
1222
1223
}
1223
1224
catch ( Tools::InvalidPageException& e )
1224
1225
{
1226
+ Q_UNUSED (e);
1225
1227
QgsDebugMsg ( e.what ().c_str () );
1226
1228
throw Tools::IllegalStateException ( " readNode: failed with Tools::InvalidPageException" );
1227
1229
}
@@ -1272,6 +1274,7 @@ void SpatialIndex::RTree::RTree::deleteNode( Node* n )
1272
1274
}
1273
1275
catch ( Tools::InvalidPageException& e )
1274
1276
{
1277
+ Q_UNUSED (e);
1275
1278
QgsDebugMsg ( e.what ().c_str () );
1276
1279
throw Tools::IllegalStateException ( " deleteNode: failed with Tools::InvalidPageException" );
1277
1280
}
You can’t perform that action at this time.
0 commit comments