From 127ca5ee8165f925572f43f424ae12780a91e9ef Mon Sep 17 00:00:00 2001 From: Cedric Roux <cedric.roux@eurecom.fr> Date: Thu, 2 Jun 2016 12:50:37 +0200 Subject: [PATCH] minor improvement always a good idea to crash in unknown situations... --- common/utils/T/local_tracer.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/utils/T/local_tracer.c b/common/utils/T/local_tracer.c index df6d350a8b..93a56a9e3d 100644 --- a/common/utils/T/local_tracer.c +++ b/common/utils/T/local_tracer.c @@ -183,6 +183,10 @@ again: break; case 2: break; + default: + printf("%s:%d:%s: unhandled message type %d\n", + __FILE__, __LINE__, __FUNCTION__, t); + abort(); } b = buf; -- GitLab