Skip to content

Commit

Permalink
client: refactor: remove unused argument from CFDictionaryCreate
Browse files Browse the repository at this point in the history
  • Loading branch information
doronz88 committed Mar 24, 2022
1 parent 55052d4 commit dace09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpcclient/rpcclient/darwin/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def _cf_encode_dict(self, o: object) -> DarwinSymbol:
for i in range(len(cfvalues)):
values_buf[i] = cfvalues[i]
return self.symbols.CFDictionaryCreate(
kCFAllocatorDefault, keys_buf, values_buf, len(cfvalues), 0, 0, 0)
kCFAllocatorDefault, keys_buf, values_buf, len(cfvalues), 0, 0)

def cf(self, o: object) -> DarwinSymbol:
""" construct a CFObject from a given python object """
Expand Down

0 comments on commit dace09f

Please sign in to comment.