View Single Post

   
  #3 (permalink)  
Old 04-15-2008, 09:06 PM
Marko Kreen
 
Posts: n/a
Default Re: Can someone explain this code?

On 7/19/07, Magnus Hagander <magnus@hagander.net> wrote:
> int
> pg_fe_sendauth(AuthRequest areq, PGconn *conn, const char *hostname,
> const char *password, char *PQerrormsg)
> {
> #ifndef KRB5
> (void) hostname; /* not used */
> #endif
>
> ...
>
> (fe-auth.c)
>
> What does that code actually *do*?


Somebody tried to work around "unused argument" warning?

--
marko

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Reply With Quote