Skip to content

Commit 8f09dea

Browse files
committed
- Cleanup
1 parent 04df7e3 commit 8f09dea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.gdbinit

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ define ____printzv_contents
4848

4949
printf "(refcount=%d) ", $zvalue->refcount
5050
if $type == 0
51-
printf "NULL: "
51+
printf "NULL"
5252
end
5353
if $type == 1
5454
printf "long: %ld", $zvalue->value.lval
@@ -202,7 +202,7 @@ define ____print_ht
202202
end
203203

204204
if $p->nKeyLength > 0
205-
printf "\"%s\" => ", (char*)$p->key.arKey.s
205+
printf "\"%s\" => ", $p->key.arKey.s
206206
else
207207
printf "%d => ", $p->h
208208
end
@@ -237,7 +237,7 @@ define ____print_ft
237237
end
238238

239239
if $p->nKeyLength > 0
240-
printf "\"%s\" => ", (char*)$p->key.arKey.s
240+
printf "\"%s\" => ", $p->key.arKey.s
241241
else
242242
printf "%d => ", $p->h
243243
end

0 commit comments

Comments
 (0)