diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-11 19:48:57 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-09-11 19:48:57 +0200 |
| commit | 10b65003102675bd19c0e5174ff249be2a163bc7 (patch) | |
| tree | 10388535f1395f084a1a0456094f90cc2390fc62 /src/solvers/h48/gendata_h48.h | |
| parent | e6ff0ce6926fa921a13055c9c35d8e60b691e776 (diff) | |
| download | nissy-core-10b65003102675bd19c0e5174ff249be2a163bc7.tar.gz nissy-core-10b65003102675bd19c0e5174ff249be2a163bc7.zip | |
Simplified solver
Diffstat (limited to 'src/solvers/h48/gendata_h48.h')
| -rw-r--r-- | src/solvers/h48/gendata_h48.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/solvers/h48/gendata_h48.h b/src/solvers/h48/gendata_h48.h index f276eca..066c650 100644 --- a/src/solvers/h48/gendata_h48.h +++ b/src/solvers/h48/gendata_h48.h | |||
| @@ -152,13 +152,14 @@ gendata_h48(gendata_h48_arg_t *arg) | |||
| 152 | goto gendata_h48_error; | 152 | goto gendata_h48_error; |
| 153 | } | 153 | } |
| 154 | 154 | ||
| 155 | if (arg->buf == 0) | 155 | if (arg->buf == NULL) |
| 156 | goto gendata_h48_return_size; | 156 | goto gendata_h48_return_size; |
| 157 | 157 | ||
| 158 | if (!readtableinfo(arg->buf, &cocsepinfo)) { | 158 | if (!readtableinfo(arg->buf, &cocsepinfo)) { |
| 159 | LOG("gendata_h48: could not read info for cocsep table\n"); | 159 | LOG("gendata_h48: could not read info for cocsep table\n"); |
| 160 | goto gendata_h48_error; | 160 | goto gendata_h48_error; |
| 161 | } | 161 | } |
| 162 | |||
| 162 | cocsepinfo.next = cocsepsize; | 163 | cocsepinfo.next = cocsepsize; |
| 163 | if (!writetableinfo(&cocsepinfo, arg->buf)) { | 164 | if (!writetableinfo(&cocsepinfo, arg->buf)) { |
| 164 | LOG("gendata_h48: could not write info for cocsep table" | 165 | LOG("gendata_h48: could not write info for cocsep table" |
