VirtualBox

Ignore:
Timestamp:
Aug 12, 2016 4:45:31 PM (8 years ago)
Author:
vboxsync
Message:

warnings (gcc)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/common/ctf/ctf_labels.c

    r53657 r63369  
    3939         * Labels are only supported in V2 or later
    4040         */
    41         if (fp->ctf_version < CTF_VERSION_2)
     41        if (fp->ctf_version < CTF_VERSION_2) {
     42                *ctl = NULL; /* Shup up, GCC! */
     43                *num_labels = 0;
    4244                return (ctf_set_errno(fp, ECTF_NOTSUP));
     45        }
    4346
    4447        h = (const ctf_header_t *)fp->ctf_data.cts_data;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette