dn.cpp:181:13: warning: variable 's' is incremented both in the loop header and in the loop body [-Wfor-loop-analysis]
Source code is
for (s = string; hexdigitp(s); s++) { s++; }
It is strange to only check every other digit. Suggest add comment or rework the code.