mturk       2005/05/24 02:19:12

  Modified:    jni/native/src ssl.c
  Log:
  Fix compile time warnings about unused variables and casting
  
  Revision  Changes    Path
  1.10      +4 -1      jakarta-tomcat-connectors/jni/native/src/ssl.c
  
  Index: ssl.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/src/ssl.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ssl.c     23 May 2005 07:20:27 -0000      1.9
  +++ ssl.c     24 May 2005 09:19:12 -0000      1.10
  @@ -108,6 +108,8 @@
   static void ssl_thread_lock(int mode, int type,
                               const char *file, int line)
   {
  +    UNREFERENCED(file);
  +    UNREFERENCED(line);
       if (type < ssl_lock_num_locks) {
           if (mode & CRYPTO_LOCK) {
               apr_thread_mutex_lock(ssl_lock_cs[type]);
  @@ -132,12 +134,13 @@
   
       return psaptr->PSATOLD;
   #else
  -    return (unsigned long) apr_os_thread_current();
  +    return (unsigned long)((jlong)apr_os_thread_current());
   #endif
   }
   
   static apr_status_t ssl_thread_cleanup(void *data)
   {
  +    UNREFERENCED(data);
       CRYPTO_set_locking_callback(NULL);
       CRYPTO_set_id_callback(NULL);
       /* Let the registered mutex cleanups do their own thing
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to