Skip to content

json_object_object_foreach warnings #188

@ghazel

Description

@ghazel

Clang spits out two warnings:

json_object_object_foreach(o, key, value) {
  printf("%p %p\n", key, value);
}
warning: variable 'key' may be uninitialized when used here [-Wconditional-uninitialized]
warning: variable 'value' may be uninitialized when used here [-Wconditional-uninitialized]

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