VirtualBox

Changeset 29055 in vbox for trunk


Ignore:
Timestamp:
May 5, 2010 8:31:14 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
61104
Message:

pam: warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/pam/pam_vbox.c

    r29054 r29055  
    8989{
    9090    va_list va;
     91    char *buf;
    9192    va_start(va, pszFormat);
    9293    /** @todo is this NULL terminated? */
    93     char *buf;
    9494    if (RT_SUCCESS(RTStrAPrintfV(&buf, pszFormat, va)))
    9595    {
     
    111111{
    112112    va_list va;
     113    char *buf;
    113114    va_start(va, pszFormat);
    114115    /** @todo is this NULL terminated? */
    115     char *buf;
    116116    if (RT_SUCCESS(RTStrAPrintfV(&buf, pszFormat, va)))
    117117    {
     
    130130
    131131
    132 int pam_vbox_do_check(pam_handle_t *h)
    133 {
     132static int pam_vbox_do_check(pam_handle_t *h)
     133{
     134    int rc;
     135    int pamrc;
     136
    134137#ifdef _DEBUG
    135138    g_pam_handle = h; /* hack for getting assertion text */
     
    141144    RTAssertSetMayPanic(false);
    142145
    143     int rc = RTR3Init();
     146    rc = RTR3Init();
    144147    if (RT_FAILURE(rc))
    145148    {
     
    173176    }
    174177
    175     int pamrc = PAM_OPEN_ERR; /* The PAM return code; intentionally not used as an exit value below. */
     178    pamrc = PAM_OPEN_ERR; /* The PAM return code; intentionally not used as an exit value below. */
    176179    if (RT_SUCCESS(rc))
    177180    {
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