VirtualBox

Ignore:
Timestamp:
Dec 3, 2007 9:11:37 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
26477
Message:

prevent compiler warning about unused RTASSERTVAR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/module/hgcmcall.c

    r5900 r5935  
    286286 * @param arg User space pointer to the call data structure
    287287 */
     288AssertCompile((_IOC_SIZE(IOCTL_VBOXGUEST_HGCM_CALL) == sizeof(VBoxGuestHGCMCallInfo)));
     289
    288290int vbox_ioctl_hgcm_call(unsigned long arg, VBoxDevice *vboxDev)
    289291{
     
    292294    int rc;
    293295
    294     AssertCompile((_IOC_SIZE(IOCTL_VBOXGUEST_HGCM_CALL) == sizeof(VBoxGuestHGCMCallInfo)));
    295296    /* Get the call header from user space to see how many call parameters there are. */
    296297    if (copy_from_user(&callHeader, (void*)arg, sizeof(callHeader)))
Note: See TracChangeset for help on using the changeset viewer.

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