From 2bbb5ef5ed8fc5997d9c9a973860ca8aae769ad5 Mon Sep 17 00:00:00 2001 From: Eduardo Ramos Testillano Date: Sat, 28 Mar 2015 04:50:37 +0100 Subject: [PATCH] Remove unused function --- .../diameter/launcher/resources/pcap2diameterHex.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/example/diameter/launcher/resources/pcap2diameterHex.sh b/example/diameter/launcher/resources/pcap2diameterHex.sh index 25c247e..fc217cd 100755 --- a/example/diameter/launcher/resources/pcap2diameterHex.sh +++ b/example/diameter/launcher/resources/pcap2diameterHex.sh @@ -38,16 +38,6 @@ _exit () { exit $rc } -# $1: string; $2: substring -get_str_pos() { - local result=-1 - local str=$1 - local substr="${1%%$2*}" - local pos=${#substr} - local size=${#str} - [ $size -ne $pos ] && result=$pos - echo $result -} ############# # EXECUTION # -- 2.20.1