MXS-2013 Remove pointless defines

This commit is contained in:
Johan Wikman
2018-08-14 16:35:59 +03:00
parent 228dcbe0ce
commit 83afcc0388
12 changed files with 99 additions and 105 deletions

View File

@ -46,20 +46,20 @@ test1()
HINT *hint;
/* Hint tests */
ss_dfprintf(stderr,
"testhint : Add a parameter hint to a null list");
fprintf(stderr,
"testhint : Add a parameter hint to a null list");
char* name = MXS_STRDUP_A("name");
hint = hint_create_parameter(NULL, name, "value");
MXS_FREE(name);
ss_info_dassert(NULL != hint, "New hint list should not be null");
ss_info_dassert(0 == strcmp("value", (char*)hint->value), "Hint value should be correct");
ss_info_dassert(0 != hint_exists(&hint, HINT_PARAMETER), "Hint of parameter type should exist");
ss_dfprintf(stderr, "\t..done\nFree hints.");
fprintf(stderr, "\t..done\nFree hints.");
if (NULL != hint)
{
hint_free(hint);
}
ss_dfprintf(stderr, "\t..done\n");
fprintf(stderr, "\t..done\n");
return 0;