Warning, /graphics/okular/core/synctex/patches/11-fix-unused-parameters-warnings.diff is written in an unsupported language. File is not indexed.

0001 Fix low hanging unused parameters warnings
0002 Author: Martin T. H. Sandsmark <martin.sandsmark@kde.org>
0003 Original commit: d5bdca6
0004 
0005 Index: synctex/synctex_parser.c
0006 ===================================================================
0007 --- synctex.orig/synctex_parser.c
0008 +++ synctex/synctex_parser.c
0009 @@ -198,9 +198,7 @@ typedef struct synctex_tlcpector_t {
0010  } synctex_tlcpector_s;
0011  typedef const synctex_tlcpector_s * synctex_tlcpector_p;
0012  static int _synctex_int_none(synctex_node_p node) {
0013 -#      ifdef __DARWIN_UNIX03
0014 -#       pragma unused(node)
0015 -#   endif
0016 +    (void)node; /* unused */
0017      return 0;
0018  }
0019  static const synctex_tlcpector_s synctex_tlcpector_none = {
0020 @@ -234,9 +232,7 @@ typedef struct synctex_vispector_t {
0021      synctex_float_getter_f depth;
0022  } synctex_vispector_s;
0023  static float _synctex_float_none(synctex_node_p node) {
0024 -#      ifdef __DARWIN_UNIX03
0025 -#       pragma unused(node)
0026 -#   endif
0027 +    (void)node; /* unused */
0028      return 0;
0029  }
0030  static const synctex_vispector_s synctex_vispector_none = {
0031 @@ -7206,9 +7202,7 @@ static synctex_node_p _synctex_display_q
0032      return first_handle;
0033  }
0034  synctex_iterator_p synctex_iterator_new_display(synctex_scanner_p scanner,const char * name,int line,int column, int page_hint) {
0035 -#      ifdef __DARWIN_UNIX03
0036 -#       pragma unused(column)
0037 -#   endif
0038 +    (void)column; /* unused */
0039      if (scanner) {
0040          int tag = synctex_scanner_get_tag(scanner,name);/* parse if necessary */
0041          int max_line = 0;
0042 @@ -7977,6 +7971,7 @@ SYNCTEX_INLINE static synctex_nd_lr_s __
0043  }
0044  #endif
0045  SYNCTEX_INLINE static synctex_nd_lr_s __synctex_eq_get_closest_children_in_vbox_v2(synctex_point_p hitP, synctex_node_p nodeP) {
0046 +    (void)nodeP; /* unused */
0047      synctex_nd_lr_s nds = {SYNCTEX_ND_0,SYNCTEX_ND_0};
0048      synctex_nd_s nd = SYNCTEX_ND_0;
0049      if ((nd.node = synctex_node_child(nd.node))) {