File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -72,10 +72,10 @@ NITFPRIV(NITF_BOOL) MemorySource_offsetRead(
72
72
nitf_Off size ,
73
73
nitf_Error * error )
74
74
{
75
- (void ) error ;
76
75
size_t destOffset = 0 ;
77
76
const nitf_Uint8 * const src = (const nitf_Uint8 * )memorySource -> data ;
78
77
nitf_Uint8 * const dest = (nitf_Uint8 * )buf ;
78
+ (void ) error ;
79
79
80
80
while (destOffset < (size_t )size )
81
81
{
@@ -125,8 +125,8 @@ NITFPRIV(void) MemorySource_destruct(NITF_DATA * data)
125
125
126
126
NITFPRIV (nitf_Off ) MemorySource_getSize (NITF_DATA * data , nitf_Error * error )
127
127
{
128
- (void ) error ;
129
128
MemorySourceImpl * memorySource = (MemorySourceImpl * ) data ;
129
+ (void ) error ;
130
130
return memorySource ? memorySource -> size : 0 ;
131
131
}
132
132
@@ -226,8 +226,8 @@ NITFPRIV(void) FileSource_destruct(NITF_DATA * data)
226
226
227
227
NITFPRIV (nitf_Off ) IOSource_getSize (NITF_DATA * data , nitf_Error * error )
228
228
{
229
- (void ) error ;
230
229
IOSourceImpl * source = (IOSourceImpl * ) data ;
230
+ (void ) error ;
231
231
return source ? (nitf_Off )source -> size : 0 ;
232
232
}
233
233
You can’t perform that action at this time.
0 commit comments