Commit graph

9 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
Glenn Y. Rolland 2082407e28 Fix uninitialized variable
As reported by cppcheck:

    src/store.c:365:17: error: Uninitialized variable: average_sum [uninitvar]
      average_avg = average_sum / (cur + 1);
                    ^
2020-02-14 08:24:01 +01:00
Glenn Y. Rolland af7b7d4291 Fix wrong malloc()
Error reported by cppcheck

    Size of pointer 'cell_var' used instead of size of its data. [pointerSize]
      console_var_t * cell_var =
                  ^
2020-02-14 08:16:48 +01:00
Glenn Y. Rolland d50547aefa Moved plotting tools out of src/. 2012-08-10 02:20:33 +02:00
Glenn Y. Rolland dc64e9fb4c src: Use _ALOBE_ prefix instead of mine for defines. 2012-08-10 02:18:21 +02:00
Glenn Y. Rolland 22a5acbaf0 src/Makefile.am: Remove useless comments from an old project. 2012-08-10 02:12:45 +02:00
Glenn Y. Rolland 23ce488f60 Moved data to the data dir & added examples to the README file. 2012-08-10 02:04:52 +02: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