Arrogant ........, aren't you. Welcome to my ignore list.
If giving advice about standard C in a C forum is being pedantic - when you didn't bother to provide relevant information to avoid...
Type: Posts; User: grumpy
Arrogant ........, aren't you. Welcome to my ignore list.
If giving advice about standard C in a C forum is being pedantic - when you didn't bother to provide relevant information to avoid...
Well, as far as I'm concerned, you're on your own now.
You are using a compiler that is apparently not compliant with the C standard - information that is vital if you are seeking help in a C...
A value of num_replicas being zero will possibly cause that complaint from valgrind. The solution is to call the function with a non-zero value for num_replicas.
Also try removing the type...