r22071 - gnucash/trunk/src/libqof/qof - Remove obsolete strspn() call that causes valgrind warnings about invalid read().

Christian Stimming cstim at code.gnucash.org
Thu Mar 8 17:48:00 EST 2012


Author: cstim
Date: 2012-03-08 17:47:59 -0500 (Thu, 08 Mar 2012)
New Revision: 22071
Trac: http://svn.gnucash.org/trac/changeset/22071

Modified:
   gnucash/trunk/src/libqof/qof/gnc-numeric.c
Log:
Remove obsolete strspn() call that causes valgrind warnings about invalid read().

The strspn() call was added in r8500 but the usage of its return value
was removed in r10315, so it isn't neccesary anyway.

The macro GNC_DEPRECATED is defined nowhere and used nowhere else, so
we can remove that block altogether.



More information about the gnucash-patches mailing list