Mercurial > hg > orthanc
comparison OrthancServer/OrthancGetRequestHandler.cpp @ 3972:7f8b30416d50
minor clarification
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 22 May 2020 18:03:08 +0200 |
parents | 4d1dcdf5c57e |
children |
comparison
equal
deleted
inserted
replaced
3971:b04e1b3b8a7f | 3972:7f8b30416d50 |
---|---|
252 } | 252 } |
253 | 253 |
254 bool allowTranscoding = (context_.IsTranscodeDicomProtocol() && | 254 bool allowTranscoding = (context_.IsTranscodeDicomProtocol() && |
255 remote_.IsTranscodingAllowed()); | 255 remote_.IsTranscodingAllowed()); |
256 | 256 |
257 T_ASC_PresentationContextID presId; | 257 T_ASC_PresentationContextID presId = 0; // Unnecessary initialization, makes code clearer |
258 DicomTransferSyntax selectedSyntax; | 258 DicomTransferSyntax selectedSyntax; |
259 if (!SelectPresentationContext(presId, selectedSyntax, assoc, sopClassUid, | 259 if (!SelectPresentationContext(presId, selectedSyntax, assoc, sopClassUid, |
260 sourceSyntax, allowTranscoding) || | 260 sourceSyntax, allowTranscoding) || |
261 presId == 0) | 261 presId == 0) |
262 { | 262 { |