[multimedia/kwave] libkwave: (removed a bad Q_ASSERT)

Thomas Eschenbacher <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit a5cab62916877ec4be266ae1b526fb29936c14a6 by Thomas Eschenbacher.
Committed on 18/08/2026 at 14:08.
Pushed by eschenbacher into branch 'master'.

(removed a bad Q_ASSERT)

M  +0    -1    libkwave/Track.cpp

https://invent.kde.org/multimedia/kwave/-/commit/a5cab62916877ec4be266ae1b526fb29936c14a6

diff --git a/libkwave/Track.cpp b/libkwave/Track.cpp
index cf93e4f8..64dbd3d8 100644
--- a/libkwave/Track.cpp
+++ b/libkwave/Track.cpp
@@ -574,7 +574,6 @@ bool Kwave::Track::writeSamples(Kwave::InsertMode mode,
                                 unsigned int buf_offset,
                                 unsigned int length)
 {
-    Q_ASSERT(length);
     if (!length) return true; // nothing to do !?
 
     switch (mode) {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.