[go: up one dir, main page]

Since the string from strerror should never be modified, use const.

This is just a very minor issue.

graphviz contains a call to strerror where the result is assigned to a char *. However, according to the strerror specification, the string returned by strerror should never be changed, so I think it would be better to use const char * instead.

Philipp

Edited by Magnus Jacobsson

Merge request reports

Loading