Przeglądaj źródła

Avoid compiler warnings.

tags/v0.9.3
Michael Brown 20 lat temu
rodzic
commit
6e8878c1fa
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      src/core/nic.c

+ 2
- 2
src/core/nic.c Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz