Skip to content

Commit

Permalink
13680 libfruraw: 'hash_obj' may be used uninitialized
Browse files Browse the repository at this point in the history
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Approved by: Dan McDonald <danmcd@joyent.com>
  • Loading branch information
tsoome committed Apr 1, 2021
1 parent cf988e4 commit 4ba84af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/src/lib/libfru/libfruraw/raw_access.c
Expand Up @@ -205,7 +205,7 @@ create_packet_hash_object(void)
static hash_obj_t *
get_container_hash_object(int object_type, handle_t handle)
{
hash_obj_t *hash_obj;
hash_obj_t *hash_obj = NULL;

switch (object_type) {
case CONTAINER_TYPE:
Expand Down

0 comments on commit 4ba84af

Please sign in to comment.