Commit graph

3 commits

Author SHA1 Message Date
Glenn Y. Rolland 8318eeee13 Fix unverified sscanf result
As reported by cppcheck:

    src/defi.c:41:7: style: Variable 're' is assigned a value that is never used. [unreadVariable]
       re = sscanf(buf, "%ld %ld", &one, &two);
      	  ^
2020-02-14 08:26:39 +01:00
Glenn Y. Rolland 106f4ac8c9 Fix useless assignement to pointer
As reported by cppcheck:

    src/defi.c:18:2: warning: Assignment of function parameter has no
    effect outside the function. Did you forget dereferencing it?
    [uselessAssignmentPtrArg]
     defi = NULL;
     ^
2020-02-14 08:25:22 +01:00
glenux 5ca782e8b1 alobe: inital import (test).
git-svn-id: https://websvn.glenux.net/svn/Upoc/alobe/trunk@1348 eaee96b3-f302-0410-b096-c6cfd47f7835
2009-05-02 07:36:25 +00:00