|
From: | Oliver Jowett |
Subject: | Re: [gpsd-dev] [PATCH] Add Windows versions of time related functions. |
Date: | Thu, 24 Mar 2016 00:37:11 +0000 |
Yeah, sort of. Having code serving no purpose is an accident waiting to
happen. No need for the strdup(), no need even for a strcpy(), just
operating on the passed in string is faster, simpler, clearer and thus
less likely to hide bugs.
[Prev in Thread] | Current Thread | [Next in Thread] |