VirtualBox

Changeset 67269 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 6, 2017 11:55:09 AM (8 years ago)
Author:
vboxsync
Message:

bugref:8524: Additions/linux: play nicely with distribution-installed Additions
[PATCH 2/2] Additions: linux/drm: Fix compiler warning
Fix:

drivers/staging/vboxvideo/vbox_main.c: In function ‘vbox_hw_init’:
drivers/staging/vboxvideo/vbox_main.c:278:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]

int ret;

Signed-off-by: Hans de Goede <hdegoede@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/drm/vbox_main.c

    r67175 r67269  
    274274static int vbox_hw_init(struct vbox_private *vbox)
    275275{
     276    int ret;
     277
    276278    vbox->full_vram_size = VBoxVideoGetVRAMSize();
    277279    vbox->any_pitch = VBoxVideoAnyWidthAllowed();
    278     int ret;
    279280
    280281    DRM_INFO("VRAM %08x\n", vbox->full_vram_size);
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