VirtualBox

儲存庫 vbox 的更動 101202


忽略:
時間撮記:
2023-9-20 下午02:37:32 (15 月 以前)
作者:
vboxsync
訊息:

Main/USBIdDatabaseStub.cpp: Address a few build errors flagged by clang
when building with VBOX_WITH_MAIN_USB_ID_DATABASE= such as a missing
comma in a class member initialization and additional braces as advised
when "initializing a subobject".

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Main/src-server/USBIdDatabaseStub.cpp

    r98103 r101202  
    2828#include "USBIdDatabase.h"
    2929
    30 const RTBLDPROGSTRTAB   USBIdDatabase::s_StrTab          =  { "", 0, 0 NULL };
     30const RTBLDPROGSTRTAB   USBIdDatabase::s_StrTab          =  { "", 0, 0, NULL };
    3131
    3232const size_t            USBIdDatabase::s_cVendors        = 0;
    33 const USBIDDBVENDOR     USBIdDatabase::s_aVendors[]      = { 0 };
     33const USBIDDBVENDOR     USBIdDatabase::s_aVendors[]      = { {0,0,0} };
    3434const RTBLDPROGSTRREF   USBIdDatabase::s_aVendorNames[]  = { {0,0} };
    3535
    3636const size_t            USBIdDatabase::s_cProducts       = 0;
    37 const USBIDDBPROD       USBIdDatabase::s_aProducts[]     = { 0 };
     37const USBIDDBPROD       USBIdDatabase::s_aProducts[]     = { {0} };
    3838const RTBLDPROGSTRREF   USBIdDatabase::s_aProductNames[] = { {0,0} };
    3939
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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