-/* Copyright (c) 2010. The SimGrid Team.
+/* Copyright (c) 2010, 2012-2013. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
{
if (!TRACE_smpi_is_enabled()) return;
- char key[INSTR_DEFAULT_STR_SIZE];
- bzero (key, INSTR_DEFAULT_STR_SIZE);
+ char key[INSTR_DEFAULT_STR_SIZE] = {0};
TRACE_smpi_put_key(src, dst, key, INSTR_DEFAULT_STR_SIZE);
char str[INSTR_DEFAULT_STR_SIZE];
{
if (!TRACE_smpi_is_enabled()) return;
- char key[INSTR_DEFAULT_STR_SIZE];
- bzero (key, INSTR_DEFAULT_STR_SIZE);
+ char key[INSTR_DEFAULT_STR_SIZE] = {0};
TRACE_smpi_get_key(src, dst, key, INSTR_DEFAULT_STR_SIZE);
char str[INSTR_DEFAULT_STR_SIZE];