svn commit: r1926523 - /subversion/trunk/subversion/libsvn_subr/win32_crypto.c

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <[email protected]>
Author: brane
Date: Tue Jun 17 23:52:27 2025
New Revision: 1926523

URL: http://svn.apache.org/viewvc?rev=1926523&view=rev
Log:
Remove a long-obsolete workaround for silencing warnings.
The affected (-std=c90 -pedantic) warnings from gcc or clang are:

  gcc:   ISO C forbids an empty translation unit
  clang: ISO C requires a translation unit to contain at least one declaration

* subversion/libsvn_subr/win32_crypto.c
  (win32_crypto__dummy): Remove. It was added in r1413404, but no longer
   needed since a different workaround was added in r1809792.

Modified:
    subversion/trunk/subversion/libsvn_subr/win32_crypto.c

Modified: subversion/trunk/subversion/libsvn_subr/win32_crypto.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/win32_crypto.c?rev=1926523&r1=1926522&r2=1926523&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/win32_crypto.c (original)
+++ subversion/trunk/subversion/libsvn_subr/win32_crypto.c Tue Jun 17 23:52:27 2025
@@ -21,9 +21,6 @@
  * ====================================================================
  */
 
-/* prevent "empty compilation unit" warning on e.g. UNIX */
-typedef int win32_crypto__dummy;
-
 /* ==================================================================== */
 
 #if defined(WIN32) && !defined(__MINGW32__)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.