Commit Graph

30 Commits

Author SHA1 Message Date
Glenn Y. Rolland 379bd05f52 Compress data 2020-05-18 12:32:59 +02:00
Glenn Y. Rolland acd211ba7c Show all warnings 2020-05-18 01:54:22 +02:00
Glenn Y. Rolland 801512f47d Remove empty files 2020-05-18 01:53:39 +02:00
Glenn Y. Rolland e927349536 Add markdown documentation 2020-05-18 01:51:51 +02:00
Glenn Y. Rolland 3902a833dc
Update README.md 2020-05-18 01:32:52 +02:00
Glenn Y. Rolland b7973fecc7
Update README.md 2020-05-18 01:32:37 +02:00
Glenn Y. Rolland 12b79df50b
Update README.md 2020-05-18 01:31:14 +02:00
Glenn Y. Rolland 99437bad6f Upgrade README to markdown 2020-02-14 08:46:43 +01:00
Glenn Y. Rolland b4f2b28c99 Fix erroneous format string (int => long int)
As reported by cppcheck:

    src/generator.c:115:4: warning: %d in format string (no. 2) requires
    'int' but the argument type is 'signed long'.
    [invalidPrintfArgType_sint]
       fprintf(stderr,"\r%s Selecting degreex... (%d of %d)",
       ^
    src/generator.c:115:4: warning: %d in format string (no. 3) requires
    'int' but the argument type is 'signed long'.
    [invalidPrintfArgType_sint]
       fprintf(stderr,"\r%s Selecting degreex... (%d of %d)",
       ^
2020-02-14 08:41:08 +01:00
Glenn Y. Rolland f97ef9ac60 Fix erroneous format string (int => long int)
As reported by cppcheck:

    src/generator.c:91:4: warning: %d in format string (no. 2) requires
    'int' but the argument type is 'signed long'.
    [invalidPrintfArgType_sint]
       fprintf(stderr,"\r%s Selecting degrees... (%d of %d)",
       ^
    src/generator.c:91:4: warning: %d in format string (no. 3) requires
    'int' but the argument type is 'signed long'.
    [invalidPrintfArgType_sint]
       fprintf(stderr,"\r%s Selecting degrees... (%d of %d)",
       ^
2020-02-14 08:39:20 +01:00
Glenn Y. Rolland 17088c631f Fix various errors in list_destroy()
As reported by cppcheck:

    src/list.c:45:8: style: Redundant initialization for 'data'. The
    initialized value is overwritten before it is read.
    [redundantInitialization]
      data = NULL;
       	   ^
    src/list.c:43:15: note: data is initialized
      void * data = list_pop_front(list);
              	  ^
    src/list.c:45:8: note: data is overwritten
      data = NULL;
       	   ^
2020-02-14 08:34:51 +01:00
Glenn Y. Rolland f24b8bd3a8 Fix erroneous format string (int => long int)
As reported by cppcheck:

    src/degree.c:91:4: warning: %d in format string (no. 2) requires 'int'
    but the argument type is 'signed long'. [invalidPrintfArgType_sint]
       printf("\r%s Selecting degrees... (%d of %d)",
       ^
    src/degree.c:91:4: warning: %d in format string (no. 3) requires 'int'
    but the argument type is 'signed long'. [invalidPrintfArgType_sint]
       printf("\r%s Selecting degrees... (%d of %d)",
       ^
2020-02-14 08:29:36 +01:00
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 152dd5670e gitignore: Ignore object files & other generated binaries. 2012-08-10 02:26:54 +02:00
Glenn Y. Rolland db38db6f32 Updated gitignore with another set of generated files. 2012-08-10 02:25:46 +02:00
Glenn Y. Rolland e38e3d6097 Added gitignore file. 2012-08-10 02:24:44 +02:00
Glenn Y. Rolland 16fefe80dc Renamed back README (mandatory for automake...) 2012-08-10 02:22:30 +02: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
Glenn Y. Rolland 336598a702 COPYING: update with real text instead of symlink. 2012-08-10 02:00:21 +02:00
Glenn Y. Rolland 6074f863c8 Merge branch 'master' of github.com:glenux/alobe 2012-08-10 01:59:07 +02:00
Glenn Y. Rolland 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
Glenn Y. Rolland 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