Commit 4577898b authored by Philipp Rudo's avatar Philipp Rudo Committed by Kazuhito Hagio
Browse files

[PATCH 10/14] fix compiler warning in ordinal()



When building the following compiler warning is emitted

tools.c: In function ‘ordinal’:
tools.c:477:9: warning: null destination pointer [-Wformat-overflow=]
  477 |         sprintf(buf, "%ld", val);

As there are no users of the function simply remove it.

Signed-off-by: default avatarPhilipp Rudo <prudo@redhat.com>
parent 35e31db3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment