File: 09_dnal-add-return-statement.patch

package info (click to toggle)
wise 2.4.1-25
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 38,984 kB
  • sloc: ansic: 276,369; makefile: 1,021; perl: 886; lex: 93; yacc: 81; sh: 25
file content (18 lines) | stat: -rw-r--r-- 447 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Dejan Latinovic <Dejan.Latinovic@imgtec.com>
Last-Update: Mon, 4 Aug 2014 17:10:38 +0000
Bug-Debian: http://bugs.debian.org/751277
Description: Make sure dnal has a valid return value
 This affects a bug reported against python-biopython.
Forwarded: not-needed

--- wise-2.4.1.orig/src/models/dnal.c
+++ wise-2.4.1/src/models/dnal.c
@@ -75,6 +75,8 @@
 
   if( show_alb == TRUE )
     dump_ascii_AlnBlock(alb,stdout);
+
+  return 0;
 }