Project

General

Profile

Actions

Bug #13680

closed

libfruraw: 'hash_obj' may be used uninitialized

Added by Toomas Soome about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Build error with gcc 10:

    ../raw_access.c: In function 'get_container_hash_object':
    ../raw_access.c:208:14: error: 'hash_obj' may be used uninitialized in this function [-Werror=maybe-uninitialized]
    208 |  hash_obj_t *hash_obj;
        |              ^~~~~~~~
    cc1: all warnings being treated as errors

Testing done: build/install/boot

Actions #1

Updated by Toomas Soome about 1 year ago

  • Description updated (diff)
Actions #2

Updated by Electric Monk about 1 year ago

  • Gerrit CR set to 1374
Actions #3

Updated by Electric Monk about 1 year ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 4ba84af54d7e87f645088b6bb6f9baac08e77373

commit  4ba84af54d7e87f645088b6bb6f9baac08e77373
Author: Toomas Soome <tsoome@me.com>
Date:   2021-04-01T16:46:42.000Z

    13680 libfruraw: 'hash_obj' may be used uninitialized
    Reviewed by: Robert Mustacchi <rm@fingolfin.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF