Commit graph

18 commits

Author SHA1 Message Date
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
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
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
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
152dd5670e gitignore: Ignore object files & other generated binaries. 2012-08-10 02:26:54 +02:00
db38db6f32 Updated gitignore with another set of generated files. 2012-08-10 02:25:46 +02:00
e38e3d6097 Added gitignore file. 2012-08-10 02:24:44 +02:00
16fefe80dc Renamed back README (mandatory for automake...) 2012-08-10 02:22:30 +02:00
d50547aefa Moved plotting tools out of src/. 2012-08-10 02:20:33 +02:00
dc64e9fb4c src: Use _ALOBE_ prefix instead of mine for defines. 2012-08-10 02:18:21 +02:00
22a5acbaf0 src/Makefile.am: Remove useless comments from an old project. 2012-08-10 02:12:45 +02:00
23ce488f60 Moved data to the data dir & added examples to the README file. 2012-08-10 02:04:52 +02:00
336598a702 COPYING: update with real text instead of symlink. 2012-08-10 02:00:21 +02:00
6074f863c8 Merge branch 'master' of github.com:glenux/alobe 2012-08-10 01:59:07 +02:00
20a6babe59 Updated README file. 2012-08-10 01:57:17 +02:00
glenux
8973d09163 configure.in: Remove all unecessary & commented stuff.
git-svn-id: https://websvn.glenux.net/svn/Upoc/alobe/trunk@1734 eaee96b3-f302-0410-b096-c6cfd47f7835
2012-08-09 23:54:55 +00:00
fd867e8b9b configure.in: Remove all unecessary & commented stuff. 2012-08-10 01:54:26 +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