Commit 29218dcf897373eac0eb750b4e4a3e066e057840
authorMichel Pollet <buserror@gmail.com>
Sun, 2 Jun 2013 17:27:51 +0000 (18:27 +0100)
committerMichel Pollet <buserror@gmail.com>
Sun, 2 Jun 2013 17:27:51 +0000 (18:27 +0100)
Names are not getting important, for the scripting project

Signed-off-by: Michel Pollet <buserror@gmail.com>
simavr/sim/sim_irq.c

index 2b346c747d2f116a858431f35d4dd5aee7cc9d97..16e3418d2c795421b837b8ea27bb0e3c9974a4f5 100644 (file)
@@ -76,6 +76,9 @@ avr_init_irq(
                        _avr_irq_pool_add(pool, &irq[i]);
                if (names && names[i])
                        irq[i].name = strdup(names[i]);
+               else {
+                       printf("WARNING %s() with NULL name for irq %d.\n", __func__, irq[i].irq);
+               }
        }
 }