Skip to content

GCC 7.x warning cleanup - pointer conversion and unused variable  #26

Open
@kcgen

Description

@kcgen
jitter.c: In function ‘jitter_buffer_ctl’:
jitter.c:802:28: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
          jitter->destroy = (void (*) (void *))ptr;
                            ^
scal.c: In function ‘speex_decorrelate’:
scal.c:155:11: warning: unused variable ‘N’ [-Wunused-variable]
       int N=2*st->frame_size;
           ^

Feel free to build with -Wall -pedantic to help catch these.
Cheers.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions