summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-12-29 10:36:32 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-12-29 10:36:32 (GMT)
commit2a6e943002b4e3f1e147847c554e1b1a5d173b0f (patch)
treed43ae61793f91296aaa1ba854f788a817e81ced2 /src/core
parent9f9041e11efa71cb043425cd5e89daea0247e76c (diff)
Avoided a crash by creating an empty function to dump ARMv7 stats.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/processors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/processors.c b/src/core/processors.c
index 2b1e0ca..9e835ec 100644
--- a/src/core/processors.c
+++ b/src/core/processors.c
@@ -145,7 +145,7 @@ bool load_hard_coded_processors_definitions(void)
result &= register_processor_type("armv7", "ARM v7", G_TYPE_ARMV7_PROCESSOR,
#ifdef DEBUG_DUMP_STATS
- init_armv7_core, NULL, exit_armv7_core);
+ init_armv7_core, dump_armv7_share_stats, exit_armv7_core);
#else
init_armv7_core, exit_armv7_core);
#endif