File: fix-non-void-function-return

package info (click to toggle)
mtink 1.0.16-17
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,932 kB
  • sloc: ansic: 19,264; sh: 1,008; python: 626; xml: 444; makefile: 84
file content (16 lines) | stat: -rw-r--r-- 456 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: fix FTBFS with clang instead of gcc
Bug-Debian: http://bugs.debian.org/742063
Author: Nicolas Sévelin-Radiguet <nicosr@free.fr>
Forwarded: no, nothing left to forward to
Last-Update: 2014-03-18
--- a/mainSrc/rdRes.c
+++ b/mainSrc/rdRes.c
@@ -602,7 +602,7 @@
             {
                if ( strncmp(key,s+1,e-s-1) == 0)
                {
-                  return;
+                  return 1;
                }
             }
          }