Merged in ts-repair-repair (pull request #139)

exp: fix build

Approved-by: Saxon Milton <saxon.milton@gmail.com>
This commit is contained in:
kortschak 2019-02-10 23:08:40 +00:00
commit dfb282cd25
4 changed files with 3 additions and 4 deletions

View File

@ -13,6 +13,8 @@ jobs:
steps: steps:
- checkout - checkout
- run: git clone --depth=1 https://bitbucket.org/ausocean/test.git ${GOPATH}/src/bitbucket.org/ausocean/test
- restore_cache: - restore_cache:
keys: keys:
- v1-pkg-cache - v1-pkg-cache

View File

@ -209,10 +209,7 @@ func main() {
packetNo++ packetNo++
// Get the pid from the packet // Get the pid from the packet
pid, err := packet.Pid((*packet.Packet)(&p)) pid := packet.Pid((*packet.Packet)(&p))
if err != nil {
panic(errCantGetPid)
}
// Get the cc from the packet and also the expected cc (if exists) // Get the cc from the packet and also the expected cc (if exists)
cc := p.CC() cc := p.CC()