File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -157,8 +157,8 @@ unsigned int parseraw(char* s, char** dest)
157
157
return strlen (s );
158
158
}
159
159
160
- unsigned int parseinfo (char * s , struct package * dest )
161
- {
160
+ unsigned int parseinfo (char * s , struct package * dest ) {
161
+ ( void ) dest ;
162
162
char * p = s ;
163
163
while (* p != '\0' ) {
164
164
if (* p == ' ' ) {
@@ -214,9 +214,11 @@ unsigned int getsections(char* path,section*** sections) {
214
214
ssize_t read ;
215
215
* sections = calloc (16 ,sizeof (section ));
216
216
unsigned int sectionsalloc = 256 ;
217
+ (void )sectionsalloc ;
217
218
unsigned int sectionscount = 0 ;
218
219
219
220
section * current = NULL ;
221
+ (void )current ;
220
222
unsigned int alloc = 0 ;
221
223
222
224
while ((read = getline (& line ,& len ,fp )) != EOF ) {
@@ -319,4 +321,3 @@ int create(const char* path,struct package* pkg)
319
321
return 0 ;
320
322
321
323
}
322
-
You can’t perform that action at this time.
0 commit comments