misc: Make clang --analyze happy with the source code

The compiler concludes that if (ts->type == type && ts->line && line
can be false as line is NULL and then we unconditionally access
it, make it happy by adding an extra NULL check.
1 file changed
tree: ab0a0b4f0c80ef3d186b7534435da22aa101f417
  1. hlrsync/
  2. linux-kernel/
  3. openbsc/
  4. wireshark/