Remove cppcheck-suppressions that were prev added
These cppcheck errors are occuring in code that is untouched by this merge request.
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
#ifndef _T_T_T_
|
||||
#define _T_T_T_
|
||||
|
||||
#if T_TRACER && !defined(__cppcheck__)
|
||||
#if T_TRACER
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
@@ -339,7 +339,6 @@ extern "C" {
|
||||
int itti_create_queue(const task_info_t *taskInfo) {
|
||||
pthread_mutex_lock (&lock_nb_queues);
|
||||
int newQueue=nb_queues++;
|
||||
// cppcheck-suppress memleakOnRealloc
|
||||
AssertFatal(tasks=(task_list_t **) realloc(tasks, nb_queues * sizeof(*tasks)),"");
|
||||
tasks[newQueue]= new task_list_t;
|
||||
pthread_mutex_unlock (&lock_nb_queues);
|
||||
|
||||
Reference in New Issue
Block a user