From 622c599aed973db1e8b640823c2aa5fdcdd92548 Mon Sep 17 00:00:00 2001
From: Uwe Schulzweida <uwe.schulzweida@mpimet.mpg.de>
Date: Mon, 13 Feb 2023 17:47:43 +0100
Subject: [PATCH] clang-format

---
 src/stream.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/stream.c b/src/stream.c
index 638f42311..b18c8ba7d 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -846,8 +846,7 @@ streamOpenReadQuery(const char *filename, CdiQuery *query)
   int filetype = cdiGetFiletype(filename, &byteorder);
   if (filetype < 0) return filetype;
 
-  if (cdiBaseFiletype(filetype) != CDI_FILETYPE_NETCDF &&
-      filetype != CDI_FILETYPE_GRB2) return CDI_EQNAVAIL;
+  if (cdiBaseFiletype(filetype) != CDI_FILETYPE_NETCDF && filetype != CDI_FILETYPE_GRB2) return CDI_EQNAVAIL;
 
   int streamID = streamOpen(filename, "r", filetype);
   if (streamID >= 0)
-- 
GitLab