Skip to content
Permalink
Browse files

fix some warnings

  • Loading branch information
jef-n committed May 18, 2015
1 parent 711ecf9 commit 93a948f7c4a7a2125af0e4c306f05ec19b95f94d
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/providers/grass/qgis.r.in.cpp
@@ -114,12 +114,14 @@ int main( int argc, char **argv )
break;
default:
G_fatal_error( "QGIS data type %d not supported", qgis_type );
return 1;
}

cf = G_open_raster_new( name, grass_type );
if ( cf < 0 )
{
G_fatal_error( "Unable to create raster map <%s>", name );
return 1;
}

void *buf = G_allocate_raster_buf( grass_type );
@@ -132,6 +134,7 @@ int main( int argc, char **argv )
if ( byteArray.size() != expectedSize )
{
G_fatal_error( "Wrong byte array size, expected %d bytes, got %d", expectedSize, byteArray.size() );
return 1;
}

qint32 *cell;

0 comments on commit 93a948f

Please sign in to comment.
You can’t perform that action at this time.