]> j8takagi.net git repositories - yacasl2.git/commitdiff
コンパイラ警告を避けるため、assert削除
authorj8takagi <j8takagi@nifty.com>
Tue, 23 Jun 2026 00:32:33 +0000 (09:32 +0900)
committerj8takagi <j8takagi@nifty.com>
Tue, 23 Jun 2026 00:32:33 +0000 (09:32 +0900)
src/struct.c

index a66a637e2dbb2d5e55a3de06556f902ecc774626..70d0be716dba09252c6051a6c27694573fb469e0 100644 (file)
@@ -288,7 +288,6 @@ void comet2_init(WORD memsize, CLOCK clocks)
 {
     sys = malloc_chk(sizeof(SYSTEM), "sys");
     /* メモリサイズを設定 */
-    assert(0 < memsize && memsize <= MAX_MEMSIZE-1);
     sys->memsize = memsize;
     /* クロック周波数を設定 */
     assert(0 < clocks && clocks <= MAX_CLOCKS);