Kill compile warning: osm_console.c:82: warning: 'name_token' defined but not used
Signed-off-by: Sasha Khapyorsky <[email protected]> --- opensm/opensm/osm_console.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/opensm/opensm/osm_console.c b/opensm/opensm/osm_console.c index e1936fb..63c5ea8 100644 --- a/opensm/opensm/osm_console.c +++ b/opensm/opensm/osm_console.c @@ -78,10 +78,12 @@ static char *next_token(char **p_last) return strtok_r(NULL, " \t\n\r", p_last); } +#ifdef ENABLE_OSM_PERF_MGR static char *name_token(char **p_last) { return strtok_r(NULL, "\t\n\r", p_last); } +#endif static void help_command(FILE * out, int detail) { -- 1.6.1.2.319.gbd9e _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
