Browse Source

Remove set user pointer for inexistent dc

Szabolcs Dombi 2 years ago
parent
commit
3cf88588fb
1 changed files with 0 additions and 1 deletions
  1. 0 1
      examples/copy-paste-capi/answerer.c

+ 0 - 1
examples/copy-paste-capi/answerer.c

@@ -70,7 +70,6 @@ int main(int argc, char **argv) {
 	rtcSetStateChangeCallback(peer->pc, stateChangeCallback);
 	rtcSetGatheringStateChangeCallback(peer->pc, gatheringStateCallback);
 
-	rtcSetUserPointer(peer->dc, NULL);
 	rtcSetDataChannelCallback(peer->pc, dataChannelCallback);
 
 	sleep(1);