Explorar el Código

Avoid compiler warnings.

tags/v0.9.3
Michael Brown hace 19 años
padre
commit
6e8878c1fa
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      src/core/nic.c

+ 2
- 2
src/core/nic.c Ver fichero

@@ -376,11 +376,11 @@ struct nic * nic_device ( struct dev *dev ) {
376 376
 
377 377
 
378 378
 
379
-int dummy_connect ( struct nic *nic ) {
379
+int dummy_connect ( struct nic *nic __unused ) {
380 380
 	return 1;
381 381
 }
382 382
 
383
-int dummy_irq ( struct nic *nic ) {
383
+int dummy_irq ( struct nic *nic __unused ) {
384 384
 	return 1;
385 385
 }
386 386
 

Loading…
Cancelar
Guardar